-  [JOIN IRC!]


[Return]
Posting mode: Reply
Name
Subject   (reply to 329)
Message
File
Password  (for post and file deletion)
¯\(°_O)/¯
  • Supported file types are: BMP, GIF, JPG, PNG
  • Maximum file size allowed is 10000 KB.
  • Images greater than 400x400 pixels will be thumbnailed.
  • Currently 317 unique user posts. View catalog

  • Blotter updated: 2015-09-02 Show/Hide Show All


File 134747162250.png - (3.16KB , 333x153 , python.png )
329 No. 329
I have programming homework and I am on my last problem and this seems to be the easiest but this is the one that is giving me so much trouble. This is a last resort for me. Any help or pushes would be appreciated

Convert inputted value of Celsius or Fahrenheit into the other one that was also inputted.
Restrictions: Has to be Python

This is what I have now. The error I get is that F or C in the function has not been defined yet. I can only have functions written when I turn it in no other values or variables.

Any suggestions?
>> No. 330
There's no variable called F or C in the temp function. That can't be your error message. My guess is you passed F and C to temp without creating the variables first.
>> No. 331
I found my problem... I was inputting just F or C instead of making it a string when I called the function. Stupid user mistake.
>> No. 339
>>331

>stupid user

but.... you're the developer here.

SAGE has been used.


Delete post []
Password  
Report post
Reason