3rd May 2022, 3:25 AM
Najmul Huda
Najmul Huda - avatar
1 Resposta
+ 3
text = input() dict = {} for x in text: if x in dict: dict[x] = dict[x]+1 else: dict[x] = 1 print(dict)
3rd May 2022, 4:28 AM
ㅤㅤㅤㅤ
ㅤㅤㅤㅤ - avatar