array = [] max = -100000000 min = 1000000000 while len(array) < 5: num = int(input("Enter a number: ")) array.append(num) for i in array: if i > max: max = i print("The biggest number was:", max) for i in array: if i < min: min = i print("The smallest number was:", min)