a = int(input("insert number: "))
max = 0
while a != 0:
 num = a % 10
 if num > max:
  max = num
 a = a // 10
print('maximum digit of a number :' + str(max))









b6241a3bb90356e2cb716043b269eeb7c9216317
<mask token>

<mask token>
while a != 0:
    num = a % 10
    if num > max:
        max = num
    a = a // 10
print('maximum digit of a number :' + str(max))

a = int(input('insert number: '))
max = 0
while a != 0:
    num = a % 10
    if num > max:
        max = num
    a = a // 10
print('maximum digit of a number :' + str(max))

a = int(input("insert number: "))
max = 0
while a != 0:
 num = a % 10
 if num > max:
  max = num
 a = a // 10
print('maximum digit of a number :' + str(max))








