num1=-100000000 num2=0 num3=-100000000000000 while num2 != 3: num1=int(input("Enter a number: ")) if num1 > num3: num3=num1 num2=num2+1 print("The highest value is ", num3)