Re: [Tutor] Temperature Scales

2010-11-29 Thread Alan Gauld
Andre Jeyarajan andrejeyara...@rogers.com wrote Write two functions that will convert temperatures back and forth from the Celsius and Fahrenheit temperature scales (using raw_input) If we ignore the raw_input bit you have done what you were asked. def C_F(x): y = (x-32)*(5.0/9)

[Tutor] Temperature Scales

2010-11-28 Thread Andre Jeyarajan
 Write two functions that will convert temperatures back and forth from the Celsius and Fahrenheit temperature scales (using raw_input) def C_F(x):     y = (x-32)*(5.0/9)     print y def F_C(x):     y = (x*9.0/5)+32     print y I have created the two functions but I don’t know what to do from

Re: [Tutor] Temperature Scales

2010-11-28 Thread Corey Richardson
On 11/28/2010 8:33 PM, Andre Jeyarajan wrote: Write two functions that will convert temperatures back and forth from the Celsius and Fahrenheit temperature scales (using raw_input) def C_F(x): y = (x-32)*(5.0/9) print y def F_C(x): y = (x*9.0/5)+32 print y I have created