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