Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- numList = []
- for i in range(20):
- num = int(input("Enter number: "))
- numList.append(num)
- numList.sort()
- print("the min number is :{}".format(numList[0]))
- print("and the max number is :{}".format(numList[-1]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement