Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x=int(input())
- max=0
- min=1000000000000000000000000000000000000000000000000000000
- for x in range(x):
- b=int(input())
- if(b > max):
- max=b
- if(b < min):
- min=b
- print('max = %d min = %d'% (max,min))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement