one=int(input("Enter a number")) two=int(input("Enter a number")) three=int(input("Enter a number")) if one>two and one>three: high=one if two>one and two>three: high=two if three>one and three>two: high=three print("The highest value is",high)