input: def get_stats_for_string(string: str) -> tuple:
      """ Calculate the maximum, minimum, and mean number of elements in a given string.
      For the mean calculation, assume that each character in the string is an integer value.
      >>> get_stats_for_string("abcdef")
      (['f', 'a', 4.5])
      """
output:     max_char = max(string)
      min_char = min(string)
      mean_value = sum(ord(char) for char in string) / len(string)
      return [max_char, min_char, mean_value]