Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
sorted key solution in Clear category for The Most Wanted Letter by loresh
def checkio(text: str) -> str:
l = [c for c in text.lower() if c.isalpha()]
return sorted(l, key=lambda x: (-l.count(x), ord(x)))[0]
May 11, 2020