input: def get_stats_for_string(string: str) -> tuple[str, str, float]:
      """Calculates the maximum, minimum and mean number of elements in a given string.
      The maximum and minimum elements are determined by their alphabetical order.
      The mean is calculated by taking the sum of the ASCII values of the characters 
      and dividing by the number of characters.
      >>> get_stats_for_string("abcdef")
      ('f', 'a', 100.0)
      >>> get_stats_for_string("AaBbCc")
      ('c', 'A', 79.33333333333333)
      """
      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)