num1 = int (input("Enter first number: ")) num2 = int (input("Enter second number: ")) num3 = int (input("Enter third number: ")) if num1 > num2 and num3 : print(num1, "is the highest value" ) elif num2 > num3 and num1 : print(num2, "is the highest value" ) elif num3 > num2 and num1 : print(num3, "is the highest value" ) else : print("All numbers are equal")