Question: Please follow directions. Thank you! Write two python functions. The first function does the following: 1. Its name is kg_to_lbs. 2. The function prompts the
Write two python functions. The first function does the following: 1. Its name is kg_to_lbs. 2. The function prompts the user to enter a value in kilos (use the input () function) your function should take no arguments 3. It converts the kilos entered to pounds (by multiplying kilos by 2.205 ) 4. It returns the converted weight in pounds with two decimals of precision The second function does the following: 1. Its name is liters_to_gallons 2. The function prompts the user to enter a value in liters (use the input () function) - your fnction should take no arguments 3. It converts the liters entered to gallons (divide the quantity in liters by 3.785) 4. It returns the converted volume in gallons with two decimals of precision
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
