Question: Complete the function convert _ to _ kilograms ( ) that has one parameter as a mass in pounds. The function returns the mass converted
Complete the function converttokilograms that has one parameter as a mass in pounds. The function returns the mass converted to kilograms, given that pound kilograms.
Ex: If the input is then the output is:
The number of kilograms is def converttokilogramspounds:
Your code goes here
userpounds intinput
# Print with value rounded to decimal places
printfThe number of kilograms is converttokilogramsuserpounds:f
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
