You are making a Celsius to Fahrenheit converter. Write a function to take the Celsius value as an argument and return the cor | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

You are making a Celsius to Fahrenheit converter. Write a function to take the Celsius value as an argument and return the cor

I have tried so much but it is giving me null plz help me and type the full code

1st Jan 2021, 2:56 PM
Coder Ayush
Coder Ayush - avatar
1 Answer
+ 4
You don't need the full code.You need just putting all things together.What is the input?It is on Celsius or in fahrenheit?How to convert from Celsius to fahrenheit?Use variable to store the result and return this result/variable at the last code of the function.It requires just a single line of code def convert(input): return input*.../....+... Call the function print(convert(input))
1st Jan 2021, 3:03 PM
HBhZ_C
HBhZ_C - avatar