input: 
  def get_stats_for_string(string: str) -> tuple:
      """Given a string, return a tuple containing the maximum character (as per lexicographical order),
      the minimum character (as per lexicographical order), and the mean of the ASCII values of all characters
      in the string (rounded down to the nearest integer).
      >>> get_stats_for_string("abcdef")
      ('f', 'a', 100)
      >>> get_stats_for_string("xyz")
      ('z', 'x', 119)
      """
      num_elements = len(string)
      max_element = max(string)
      min_element = min(string)
      mean_element = sum(ord(char) for char in string) // num_elements
      return (max_element, min_element, mean_element)
  
output:     num_elements = len(string)
      max_element = max(string)
      min_element = min(string)
      mean_element = sum(ord(char) for char in string) // num_elements
      return (max_element, min_element, mean_element)