# TempDesc Example # Given a Fahrenheit temperature, show a temperature descriptor. # Input temperature. temperature = input("Enter a Fahrenheit temperature: ") # Use if..elif..else statement to find descriptor. if temperature < 32: descriptor = "cold" elif temperature < 60: descriptor = "chilly" elif temperature < 75: descriptor = "perfect" elif temperature < 85: descriptor = "warm"; else: descriptor = "hot"; # Show descriptor print("The temperature of " + str(temperature) + " degrees is " + descriptor + ".";