Question: 6.4.9 Temperature Converter Submit + Continue Save ourout main.py # Write your function for converting Celsius to Fahrenheit here. # Make sure to include a

 6.4.9 Temperature Converter Submit + Continue Save ourout main.py \# Write

6.4.9 Temperature Converter Submit + Continue Save ourout main.py \# Write your function for converting Celsius to Fahrenheit here. \# Make sure to include a comment at the top that says what Write a function that takes one parameter - a float which represents a temperature in Celsius - and \# each function does! returns a float which represents that temperature in Fahrenheit. Then, write a function that does the opposite conversion. def celsius (c) : f=(1.8C)+32 return f def farenheit (): c=32)/1.8 return c Here are the formulas for temperature conversion: print(celsius(0)) print(celsius(100)) F=(1.8C)+32 print(farenheit (40)) C=(F32)1.8 print (farenheit (80)) Finally, write some code below your functions that uses them to convert 0 degrees Celsius and 100 degrees Celsius to Fahrenheit, and to convert 40 degrees Fahrenheit and 80 degrees Fahrenheit to Celsius. Make sure to print your results to the console

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!