0
Why does this not output the fahrenheit
celsius = int(input()) def conv(x): x*=9/5 x+=32 fahrenheit = conv(celsius) print (fahrenheit)
1 Answer
+ 5
Because you didn't return value in function
celsius = int(input()) def conv(x): x*=9/5 x+=32 fahrenheit = conv(celsius) print (fahrenheit)