num2=0 num3=100000000000000 num4=0 while num2 != 5: num1=int(input("Enter a number:")) if num1 < num3: num3=num1 if num1 > num4: num4=num1 num2=num2+1 print("the biggest number was:", num4) print("the smallest number was:", num3)