Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- max_num = -sys.maxsize
- num = input()
- while num != "Stop":
- num = int(num)
- if num > max_num:
- max_num = num
- num = input()
- print(max_num)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement