Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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) 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started