input: Write a function to calculate the maximum, minimum, and mean number of elements in a given string. If the string is non-empty, return a tuple containing the maximum element, minimum element, and the mean of the elements. If the string is empty, return a tuple with three zeros.
  def get_stats_for_string(string):
      if not string:
          return (0, 0, 0)
      num_elements = len(string)
      max_element = max(string)
      min_element = min(string)
      mean_element = sum(string.encode("utf-8")) / num_elements
      return (max_element, min_element, mean_element)
  
  assert get_stats_for_string("abcdef")==('f', 'a', 98.66666666666667)
  assert get_stats_for_string("12345")==('5', '1', 51.6)
  assert get_stats_for_string("")==(0, 0, 0)
  assert get_stats_for_string("a")==('a', 'a', 97.0)
output: def get_stats_for_string(string):
      if not string:
          return (0, 0, 0)
      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)