Question: Write a Python script, Lab02_Q1, which inputs the weights (in kilograms) and heights (in cm) of two people and calculates and displays the total weight

 Write a Python script, Lab02_Q1, which inputs the weights (in kilograms)

Write a Python script, Lab02_Q1, which inputs the weights (in kilograms) and heights (in cm) of two people and calculates and displays the total weight as well as the average weight (rounded down to the nearest integer). Then calculate the BSA Body Surface Area) of these people using the formula: BSA(m2)=3600Height(cm)Weight(kg) (Hint: You can use the math module to round down the result, as well as to find the square root.) Sample Run: Enter weight of person 1: 49 Enter height of person 1: 161 Enter weight of person 2: 64 Enter height of person 2: 178 The total weight is 113.0kg and the average weight is 37kg. The BSA of person 1 is 1.4803340463857775 square meters. The BSA of person 2 is 1.7788885418835112 square meters

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!