[Tutor] why do i keep getting syntax errors in python when this runs

mike johnson pretorian at hotmail.com
Fri Sep 6 06:27:23 CEST 2013


can you please help me figure out why this isnt working thanks
# convert.py
# this program is used to convert Celsius temps to Fahrenheit
# By: James Michael Johnson

Def main ():
Celsius = float (input ("What is the Celsius temperature? "))
Fahrenheit = 9.0 / 5.0 * Celsius + 32
Print ("The temperature is ", Fahrenheit, " degrees Fahrenheit.")


Main ()








 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130906/3fea8c17/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: convertcelsiustofarenheit.py
Type: text/x-script.phyton
Size: 312 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20130906/3fea8c17/attachment.bin>


More information about the Tutor mailing list