Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- max_number = - sys.maxsize
- while True:
- current_number = input()
- if current_number == 'Stop':
- break
- current_number = int(current_number)
- if current_number >= max_number:
- max_number = current_number
- print(f'{max_number}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement