Question: 3) Write a module named cel_fah.py that contains the following two functions: def celsiusToFahrenheit(celsius): # Converts from Celsius to Fahrenheit def fahrenheitToCelsius(fahrenheit): # Converts from

3) Write a module named cel_fah.py that contains the following two functions: def celsiusToFahrenheit(celsius): # Converts from Celsius to Fahrenheit def fahrenheitToCelsius(fahrenheit): # Converts from Fahrenheit to Celsius The formulas for the conversion are: celsius = (5 / 9) * (fahrenheit 32) fahrenheit = (9 / 5) * celsius + 32 Write a test program that takes one value in Celsius and one value in Fahrenheit then prints the corresponding Fahrenheit and Celsius values, respectively, by invoking these functions available under cel_fah.py modules.

(You will write a comment for your each line of code and of course it will be in English. )

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!