Computer Science, asked by spygirl6, 3 months ago

write the python code to accept a number and display the largest digit in it​

Answers

Answered by pallavi8221
2

GREATEST DIGIT IN A NUMBER in Python

1) num=(input("Enter Number: "))

2) l=list(num)

3) max(l)

Similar questions