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 Malfoj
def checkio(text: str) -> str:
my_dict = {}
for l in text.lower():
if l.isalpha():
my_dict[l] = text.lower().count(l)
return sorted(my_dict.items(), key=lambda x: (-x[1], x[0]))[0][0]
June 18, 2019