Question: Write a python program with functions to convert temperature, distance, and weight from the imperial system (what we use) to metric system (rest of the
Write a python program with functions to convert temperature, distance, and weight from the imperial system (what we use) to metric system (rest of the world)
Distance formula: Miles (M) to Kilometers(K)
K = M x 1.609344
Temperature formula: Fahrenheit (F) to Celsius (C)
C = (F - 32) * 5/9
Weight formula: Pounds(lb) to Kilograms (kg)
kg = lb 0.45359237
Process:
Add ERROR HANDLING to input variables
Input must be a number (float) (use try/except blocks)
Ask for miles then show what it is in kilometers
then
Ask for weight in pounds and show what it is in kilograms
then
Ask for temperature in Fahrenheit and show what it is in Celsius
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
