Hi I am doing this class and I have followed the instructions and then watched the first part of the video that comes with the course.
The requirement is -
Write a function called
f_to_cthat takes an input
f_temp, a temperature in Fahrenheit, and converts it to
c_temp, that temperature in Celsius.
It should then return
Part two requires me to -
Let’s test your function with a value of 100 Fahrenheit.
Define a variable
f100_in_celsiusand set it equal to the value of
100as an input.
This is what I have written
return (f_temp - 32) * 5/9
f100_in_celsius = f_to_c(100)
This has given me the correct result however, I have not been able to It "return
c_temp " as required in the first part of the question. I watched the video and it makes no mention of this `c_temp’.
Can you please explain how I should correectly return `c_temp’.