Question: Computing BMI You can use Body Mass Index (BMI) to determine whether youre at a healthy weight or overweight and, therefore, at a greater risk

Computing BMI

You can use Body Mass Index (BMI) to determine whether youre at a healthy weight or overweight and, therefore, at a greater risk of developing weight-related health problems. BMI strongly correlates to the total fat on your body, and best of all, its easy to determine and is applicable to all adults

Follow these steps to calculate your BMI:

  1. Convert your weight from pounds to kilograms.
  2. Your weight (in pounds) 2.2 = your weight (in kilograms). For example, 132 pounds 2.2 kilograms = 60 kilograms.
  3. Convert your height from inches to meters.
  4. Your height (in inches) 39.37 = your height (in meters). For example, 65 inches 39.37 meters = 1.65 meters.
  5. Calculate your Body Mass Index.
  6. Your weight (in kilograms) [your height (in meters) x your height (in meters)] = BMI. For example, 60 kilograms (1.65 meters x 1.65 meters) = 22.03.

I am Not sure what variation on PYTHON THIS IS but I keep getting a test.py error provided in the image

Computing BMI You can use Body Mass Index (BMI) to determine whether

Computing BMI You can use Body Mass Index (BMI) to determine whether you're at a healthy weight or overweight and, therefore, at a greater risk of developing weight-related health problems. BMI strongly correlates to the total fat on your body, and best of all, it's easy to determine and is applicable to all adults Follow these steps to calculate your BMI: 1. Convert your weight from pounds to kilograms. 2. Your weight (in pounds) = 2.2 = your weight (in kilograms). For example, 132 pounds = 2.2 kilograms = 60 kilograms 3. Convert your height from inches to meters. 4. Your height (in inches) = 39.37 = your height (in meters). For example, 65 inches = 39.37 meters = 1.65 meters. 5. Calculate your Body Mass Index. 6. Your weight (in kilograms) = [your height (in meters) x your height (in meters)] = BMI. For example, 60 kilograms = (1.65 meters x 1.65 meters) = 22.03. Sample runs Input 1: 152.3 68 Output 1: The BMI is 23.205462396783577 Input 2: 100 60 Output 2 The BMI is 19.570667929292924 Test 1 2 3 @ 1 2 3- def main(): 4 weight = float(input) 5 height = float(input) 6 7 # your code starts here 8 weight-weight/2.2 9 9 height=height/39.37 10 bmi=weight/(height*height) 11 12 13 14 # your code ends here 15 x 16 print("The BMI is", bmi) 17 main() nput Input Submit x2 Test Run Viz Save File "Test.py", line 16 print("The BMI is", bmi) IndentationError: unexpected indent

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!