Advertisement
horozov86

06. Max Number

Oct 12th, 2022
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. import sys
  2.  
  3. data = input()
  4.  
  5. max_number = -sys.maxsize
  6.  
  7. while data != "Stop":
  8.     num = int(input)
  9.  
  10.     if num > max_number:
  11.         max_number = num
  12.  
  13. print(max_number)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement