Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for The Most Wanted Letter by xiebing0906
def checkio(text):
#dict{char:count}
if len(text)==0:
return None
textLow = text.lower()
charDict = {}
for c in textLow:
if c.isalpha():
if c in charDict:
charDict[c]+=1
else:
charDict[c]=1
#print(charDict)
#find max freq char
values = list(charDict.values())
maxf = sorted(values)[-1]
tchar = 'z'
for k in charDict:
if charDict[k]==maxf and k
Aug. 1, 2017