a=input()
b=a.lower().replace(',',' ').replace('.',' ').split()
dict={}
for i in b:
dict[i]=dict.get(i,0)+1
for j in sorted(dict.items(),key=lambda x:x[0],reverse=False):
print("%s:%s"%(j[0],j[1]))
单词识别
最新推荐文章于 2022-05-14 10:38:11 发布