Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Counter solution in Clear category for The Most Wanted Letter by Stensen
from collections import Counter
from re import findall
def checkio(text):
count = Counter(findall('[a-z]', text.lower()))
return sorted(count.most_common(), key=lambda x: (-x[1], ord(x[0])))[0][0]
Sept. 26, 2020
Comments: