Question: Write two python functions. The first function does the following: Its name is celsius _ to _ fahrenheit. It takes a float argument, celsius. It

Write two python functions. The first function does the following:
Its name is celsius_to_fahrenheit.
It takes a float argument, celsius.
It calculates the Fahrenheit temperature based on the given celsius temperature. To do so multiply the Celsius temperature by 1.8(or 9/5) and add 32.
It returns the Fahrenheit temperature with two decimals of precision.
The other function convert temperatures in degrees from Fahrenheit to Celsius.
Its name is fahrenheit_to_celsius.
It takes a float argument, fahrenheit.
It calculates the Celsius temperature based on the given Fahrenheit temperature. To do so subtract 32 from the Fahrenheit temperature and multiply the result by 5/9.
It returns the Celsius temperature with two decimals of precision.
Name the program temperatures.py. Make sure that gradescope gives you the points for passing the test cases.
Development test cases:

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!