write a program in python to input a value in tonnes and convert it into quintals and kilograms. hint: 1 tonne: 10 quintals, 1 tomme: 1000 kgs, 1 quintal= 100kgs
Answers
Explanation:
need to create a python function named poundsToMetric which converts weights given in pounds to kilograms and grams.
for example rather than print out 2.2 kilograms the correct answer would be 2 kilograms and 200 grams
to aid your work the following conversions hold:
1 pound = 2.2 kilograms 1 kilogram = 1000 grams
your program should prompt the user for the number of pounds and output the results in kilograms and grams.
Answer:
need to create a python function named poundsToMetric which converts weights given in pounds to kilograms and grams.
for example rather than print out 2.2 kilograms the correct answer would be 2 kilograms and 200 grams
to aid your work the following conversions hold:
1 pound = 2.2 kilograms 1 kilogram = 1000 grams
your program should prompt the user for the number of pounds and output the results in kilograms and grams.
Output Print 6 Month
- 200 Grams Be 2