Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #21481
- f = open('file1.txt')
- n = int(f.readline())
- minimal = float('inf')
- for i in range(n):
- x = int(f.readline())
- if x < minimal:
- minimal = x
- print(minimal)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement