Question: CSCD110 Assignment 4Total regular points possible 55.Conversion Calculator Value Returning FunctionsYour assignment is to create a Python program that will display a menu with options

CSCD110 Assignment 4Total regular points possible 55.Conversion Calculator Value Returning FunctionsYour assignment is to create a Python program that will display a menu with options to:1. Convert Fahrenheit to Celsius2. Convert Celsius to Fahrenheit3. Convert inches to centimeters4. Convert meters to feet5. Display a phrase or number backwards ( Extra credit)0. QuitYour program should prompt for the appropriate type of value (float), depending on the menu option chosen, and provide an accurate conversion, nicely formatted. Your program should then re-display the menu for the user to make another selection. When the user enters a menu choice of 0, your program should terminate.Your program should be modular:-The main method will drive the menu. You should have a concise structure in place to react to the users menu option choice.-Each option (1 5 ) should correspond to a value returning function (dont do calcs in main() call another function to do them.)-Only options 1 4 and 0 are required. Option 5 is extra credit. If you dont create the algorithm for option 5, please stub it out.Extra credit: Option 5 (8 points -- stub out if EC not attempted)Extra credit:Define your functions with a doc string. Must follow the recipe.Please place a comment at the top of your program informing the grader of any extra credit attempted.Submit your python file through canvas. Name your file: A4_FirstName_LasatName.pySample Output:

Menu1. Convert from Fahrenheit to Celsius.2. Convert from Celsius to Fahrenheit.3. Convert Inches to Centimeters.4. Convert Meters to Feet.5. Print a string backwards.0. Quit.Please enter a menu choice: 99Menu1. Convert from Fahrenheit to Celsius.2. Convert from Celsius to Fahrenheit.3. Convert Inches to centimeters.4. Convert Meters to Feet.5. Print a string backwards.0. Quit.Please enter a menu choice: 1Please enter a temperature in degrees Fahrenheit: -40-40.0 degrees Fahrenheit is equal to -40.00 degrees Celsius Menu1. Convert from Fahrenheit to Celsius.2. Convert from Celsius to Fahrenheit.3. Convert Inches to centimeters.4. Convert Meters to Feet.

5. Print a string backwards.0. Quit.Please enter a menu choice: 1Please enter a temperature in degrees Fahrenheit: -39.9-39.9 degrees Fahrenheit is equal to -39.94 degrees Celsius Menu1. Convert from Fahrenheit to Celsius.2. Convert from Celsius to Fahrenheit.3. Convert Inches to centimeters.4. Convert Meters to Feet.5. Print a string backwards.0. Quit.Please enter a menu choice: 0>>>

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!