Why does this not output the fahrenheit | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Why does this not output the fahrenheit

celsius = int(input()) def conv(x): x*=9/5 x+=32 fahrenheit = conv(celsius) print (fahrenheit)

6th Sep 2022, 3:29 PM
Oliver Mahon
Oliver Mahon - avatar
1 Réponse
+ 5
Because you didn't return value in function
6th Sep 2022, 3:31 PM
A͢J
A͢J - avatar