Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
max() using customized lambda - version 2 solution in Clear category for The Most Wanted Letter by martin.pilka
def checkio(text: str) -> str:
lower = [i for i in text.lower() if i.isalpha()]
return max(lower, key=lambda x: (lower.count(x), -ord(x)))
Feb. 1, 2019
Comments: