Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
4-liner: divmod recursive solution in Clear category for Max Digit by przemyslaw.daniel
def max_digit(number):
if number < 10:
return number
return max(map(max_digit, divmod(number, 10)))
March 2, 2020
Comments: