Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899

More Books

Students also viewed these Databases questions

Question

Which sorting techniques do you use and why?

Answered: 1 week ago

Question

=+f. How large is the industry of major college sports?

Answered: 1 week ago