Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
The Most Wanted Letter solution in Clear category for The Most Wanted Letter by W.Zalicki
def checkio(text):
total = 0
lower = text.lower()
most = lower[0]
for i in lower:
if i.isalpha():
if lower.count(i) > total:
most = i
total = lower.count(i)
elif lower.count(i) == total:
if i < most:
most = i
total = lower.count(i)
return most
Nov. 5, 2017