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()
You need to check your capitalisation on all the basic things for a start
# def main() Def?
# then you call it w
!-- On Fri 6.Sep'13 at 5:27:23 BST, mike johnson (pretor...@hotmail.com),
wrote:
> 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 (inp
On Fri, Sep 6, 2013 at 12:27 AM, mike johnson wrote:
> can you please help me figure out why this isnt working thanks
You have tthree problems:
> # convert.py
> # this program is used to convert Celsius temps to Fahrenheit
> # By: James Michael Johnson
>
> Def main ():
The keyword is def, not D
On 06/09/13 05:27, mike johnson wrote:
can you please help me figure out why this isnt working thanks
The fundamental problem is that Python is case sensitive
so Def and def are two different words.
As are Main and main and Print and print.
Also Python cares about spacing. You need to indent y
Joel Goldstick wrote:
> On Fri, Sep 6, 2013 at 12:27 AM, mike johnson wrote:
> > can you please help me figure out why this isnt working thanks
>
> You have tthree problems:
>
> > # convert.py
> > # this program is used to convert Celsius temps to Fahrenheit
> > # By: James Michael Johnson
> >
>