Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Counter solution in Creative category for The Most Wanted Letter by ale1ster
from collections import Counter
import re
def checkio(text):
return sorted(list(dict(Counter(re.sub('[^a-z]', '', text.lower()))).items()),
key = lambda v: (-v[1], v[0]))[0][0]
#These "asserts" using only for self-checking and not necessary for auto-testing
May 12, 2014