number = float(input("Enter a number:")) number2 = float(input("Enter a number:")) number3 = float(input("Enter a number:")) if (number >= number2) and (number >= number3): largest = number elif (number2 >= number) and (number2 >= number3): largest = number3 else: largest = number3 print("the highest value is", largest)