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 a.a.v.worker
from string import ascii_lowercase
def checkio(text):
text = text.lower()
result = [(letter,text.count(letter)) for letter in text if letter in ascii_lowercase]
result.sort(key=lambda x:(-x[1],x[0]))
return result[0][0]
Aug. 8, 2015
Comments: