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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!