0
Where is the error
celsius = int(input()) def conv(c): #your code goes here fahrenheit =9/5*celsius+32 return fahrenheit = conv(celsius) print(celsius )
5 Answers
+ 2
you are returning nothing.. Return calculated fahremheit and print that catched value... (not input, its not changing..)
+ 1
admit it, where did you get this code? did you write it yourself or not?
+ 1
Jayakrishnađźđł why do we insert a value "c"in the conv() function? this thing is not present anywhere in the code
+ 1
Noureddine
There are a number of problems with your code, which indicate you would be advised to review functions.
See if this helps, note the function needs to be called
celsius = int(input())
def conv(c):
#your code goes here
fahrenheit =9/5 * c +32
return fahrenheit
print(conv(celsius))
0
Thanks