# elif.py # CS 1 example by THC to show the elif-statement. temperature = 72 if temperature <= 32: print "It's freezing." elif temperature <= 50: print "It's cool." elif temperature <= 75: print "It's warm." else: print "It's hot."