def func(text):
list_of_str = {}
for i in text:
if i in list_of_str:
list_of_str[i] += 1
continue
list_of_str[i] = 1
return list_of_str
def func(text):
list_of_str = {}
for i in text:
if i in list_of_str:
list_of_str[i] += 1
continue
list_of_str[i] = 1
return list_of_str