Question: The purpose of this question is to write a python program (script) to convert a weight given in pounds and ounces to a weight in


The purpose of this question is to write a python program (script) to convert a weight given in pounds and ounces to a weight in kilograms. There are 16 ounces to a pound. There are 2.2046 pounds to a kilogram or 35.2736 ounces to a kilogram. In a loop use input to request the number of pounds and the number of ounces from the user (see the sample shown below). The number of pounds must be an integer, and the number of ounces must be a real number. Convert the weight expressed in pounds and ounces into a weight expressed in kilograms. Exit from the loop if the user enters -1 as the number of pounds. A sample run of the program is shown below. Enter the integer number of pounds (
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
