# # Determines the state of gold at a particular temperature # # # Introduce constants specifying temperatures at which state changes # LIQUID_TEMP = 1064.43 GASEOUS_TEMP = 2807.00 temp = input("Enter a temperature in celsius: ") print "At", temp, "degrees,", if (temp < LIQUID_TEMP): print "gold is solid" elif (temp < GASEOUS_TEMP): print "gold is liquid" else: print "gold is gaseous"