Question: MAKE A PYTHON SCRIPT PYTHON 1. Define a function called fahrenheit_to_celsius() that takes a temperature in the unit Fahrenheit and returns a temperature in the
MAKE A PYTHON SCRIPT

PYTHON 1. Define a function called fahrenheit_to_celsius() that takes a temperature in the unit Fahrenheit and returns a temperature in the unit Celsius. The mathematical formula is: Tc = (Tp 32) * 9 5 Where To is the temperature in Celsius and Te is the temperature in Fahrenheit. 2. Define a function called celsius_to_fahrenheit() that makes a temperature in the unit Celsius and returns a temperature in the unit Fahrenheit. The mathematical formula is: TE * Tc + 32, Where To is the temperature in Celsius and Te is the temperature in Fahrenheit. 5 3. Ask the user for a temperature in Fahrenheit and use fahrenheit_to_celsius() to calculate the corresponding temperature in Celsius. This temperature is printed out on the screen with one decimal. 4. Take the value you got in step 3 and use celsius_to_fahrenheit() to calculate the corresponding temperature in Fahrenheit. This temperature is printed out on the screen with one decimal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
