number = input()
maximum = 0
for digit in number:
if int(digit) > maximum:
maximum = int(digit)
print(maximum)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
number = input()
maximum = 0
for digit in number:
if int(digit) > maximum:
maximum = int(digit)
print(maximum)