desislava_topuzakova

07. Min Number

Mar 7th, 2021
950
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. import sys
  2. min = sys.maxsize
  3. command = input()
  4. while command != "Stop":
  5.     number = int(command)
  6.     if number < min:
  7.         min = number
  8.     command = input()
  9. print(min)
Advertisement
Add Comment
Please, Sign In to add comment