Question #250035

Write a function that takes quantity in pounds and convert it into gram and kilogram

Reflect the concept of required argument

1 Pound = 453.59237 Grams

1 Pound = 0.454 kilograms


Expert's answer

 def convert (p):
	gram = p*453.59237
	kg =p*0.454
	print(gram, "grams\n", kg, "kilograms.")
	
convert(6)
LATEST TUTORIALS
APPROVED BY CLIENTS