Question: Building off convertCF01.py this module will first ask the user if they would like to convert from Celsius to Fahrenheit or from Fahrenheit to Celsius.





Building off convertCF01.py this module will first ask the user if they would like to convert from Celsius to Fahrenheit or from Fahrenheit to Celsius. Once the conversion has been established the user is prompted to enter a temperature and the equivalent temperature is output to the screen. Conversion Formula Celsius to Fahrenheit temperature * 9/5+32 Fahrenheit to Celsius (temperature -32 ) 5/9 ===== Temperature Converter ===== 1. Convert from Celsius to Fahrenheit 2. Convert from Fahrenheit to Celsius Please choose from the above menu: 1 Enter a temperature to convert: 100 100.0 degrees Celsius is 212.0 degrees Fahrenheit. ==== Temperature Converter ===== 1. Convert from Celsius to Fahrenheit 2. Convert from Fahrenheit to Celsius Please choose from the above menu: 2 Enter a temperature to convert: 32 32.0 degrees Fahrenheit is 0.0 degrees Celsius. ===== Temperature Converter ===== 1. Convert from Celsius to Fahrenheit 2. Convert from Fahrenheit to Celsius Please choose from the above menu: 1 Enter a temperature to convert: -40 -40.0 degrees Celsius is -40.0 degrees Fahrenheit. ===== Temperature Converter ===== 1. Convert from Celsius to Fahrenheit 2. Convert from Fahrenheit to Celsius Please choose from the above menu: 2 Enter a temperature to convert: -40 -40.0 degrees Fahrenheit is -40.0 degrees Celsius. main()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
