Light Mode
Dark Mode
doesn't work, weird :(.

def max_digit(value: int) -> int: value = str(value) result =max(map(int.value)) return result

#string = len(value) - 1
#result = 0
#i = 0
#while i < string:
    #if value[i] < value[i+1]:
        #result = value [i + 1]
       # i = i + 1

# your code here

#return result

Created: Sept. 23, 2023, 4:55 a.m.
Updated: Sept. 23, 2023, 8:08 a.m.
0
13
User avatar
msibirov1975