# file: heat-cold-warnings.py def main(): print "This program asks to input the temperature in Fahrenheits and outputs a heat or cold warning depending on the temperature" t=input("Please, input the temperature in Fahrenheits:") if t>90: print "HEAT WARNING" if t<30: print "COLD WARNING" main()