number1 = int(input("Enter a number:")) number2 = int(input("Enter a number:")) number3 = int(input("Enter a number:")) if number1 > number2: if number1 > number3: print("The highest value is", number1) if number2 > number1: if number2 > number3: print("The highest value is", number2) if number3 > number2: if number3 > number1: print("The highest value is", number3)