# convert.py # From Zelle's Python Programming, Chapter 2 # By Richard White # 2009-05-19 def main(): celsius = input("What is the Celsius temperature? ") fahrenheit = (9.0 / 5.0) * celsius + 32 print "The temperature is", fahrenheit, "degrees Fahrenheit." main()