统计英文短文中字母出现的次数,并输出出现次数最多的字母和未出现的字母。
要求字母不区分大小写,均表示大写字母
比如输入为:
saying and doing are two different thins
出现次数最多的字母是N, 出现了5次
未出现的字母是B C J K L M P Q U V X Z
s=input()
a=[0]*26; s1=''; s2=''
for ch in _______:
if 'A'<=ch<='Z':
n=ord(ch)-ord('A')
a[n]+=1
____________:
n=ord(ch)-ord('a')
a[n]+=1
maxp=a[0]
for i in range(1,26):
if __________:
maxp=a[i]
for i in range(26):
if ___________:
s1=s1+chr(ord('A')+i)+" "
elif a[i]==0:
s2=s2+chr(ord('A')+i)+" "
print(s1+str(maxp))
print(s2)