# Report the state of some gold based on a temperature entered by # the user. GOLD_MP = 1064.43 GOLD_BP = 2807.00 # Read a temperature from the user temp = float(input("Enter the temperature of some gold: ")) # Determine the state of the gold from the entered temperature if temp < GOLD_MP: state = "solid" elif temp < GOLD_BP: state = "liquid" else: state = "gas" # Report the result to the user print("At", temp, "degrees, gold is a", state)