Question 2:
Consider the following formula for conversion of Fahrenheit to Celsius:
1. Write a Python program that prompts the user to choose between converting 1. Fahrenheit to Celsius and 2. Celsius to Fahrenheit.
2. User should enter his/her option by entering 1 or 2.
3. After receiving user input, use an if-else structure to display the appropriate message to the user in order to obtain the input value for the desired temperature. (For instance, if the user enters 1, your code should display "Please enter the Fahrenheit temperature" and display "Please enter the Celsius temperature" otherwise.)
4. Once again, use an if-else structure to perform the correct conversion and display the appropriate message to the user (for instance: "[X] degree of Fahrenheit is equal to [Y] degree of Celsius").
5. Make certain that when displaying temperatures to users, you always format in 2- decimal places.
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.