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 severb
from collections import Counter
def checkio(text):
c = Counter(l.lower() for l in text if l.isalpha())
letter, count = max(c.items(), key=lambda i: (i[1], -ord(i[0])))
return letter
March 23, 2015