Advertisement
mrfeedoz

str(3)

Dec 7th, 2022
531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. text = input()
  2. lenght = len(text)
  3. numb = []
  4.  
  5. for i in range(lenght):
  6.     if (text[i].isdigit()):
  7.         numb.append(text[i])
  8.  
  9. print(max(numb))
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement