Question: Use Python,need useing return Write a function called convert2fahren that takes a Celsius temperature and converts it to Fahrenheit, returning the answer. Write code that
Use Python,need useing return
Write a function called convert2fahren that takes a Celsius temperature and converts it to Fahrenheit, returning the answer. Write code that calls the function three times to convert temperatures 0, 32, and 100 to Fahrenheit, printing the result each time. To keep things simple for these exercises, the output should be :
0 -> 32.0
32 -> 89.6
100 -> 212.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
