find max 2c min character

Solutions on MaxInterview for find max 2c min character by the best coders in the world

showing results for - "find max 2c min character"
Greta
13 Jun 2016
1t = input("your text>>")
2min_char = t[0]
3max_char = t[0]
4
5for item in t:
6    if item<min_char:
7      min_char = item
8    if item>max_char:
9      max_char = item
10
11print(f"min_char: {min_char}")
12print(f"max_char: {max_char}")
similar questions
max 28 29