num1 = int(input("Enter a number:")) num2 = int(input("Enter a number:")) num3 = int(input("Enter a number:")) num4 = int(input("Enter a number:")) num5 = int(input("Enter a number:")) numbers = [num1,num2,num3,num4,num5] maxnumber = (max(numbers)) minnumber = (min(numbers)) print("The biggest number was:", maxnumber) print("The smaller number was:", minnumber)