Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This assignment will calculate peoples BMI (Body Mass Index). The BMI is often used to determine whether a person with a sedentary lifestyle is overweight

This assignment will calculate peoples BMI (Body Mass Index). The BMI is often used to determine whether a person with a sedentary lifestyle is overweight or underweight for their height. A persons BMI is calculated with the following formula: BMI=Weight*703/Height2 In the formula, weight is measured in pounds and height is measured in inches.

You can use whole numbers.

Please write a Python program to ask input for a persons name, weight and height (as integers), then calculate and display the persons BMI. Based on the BMI, we assess and print the persons level (see table below).

BMI Level

>=26 OW (overweight)

>=19 OK

image text in transcribed

Usage Python 3.8.10 (tags/v3.8.10:3d6993a, May 32021,11:48:03 ) [MSC V.1928 64 bit (AND64)] Type "copyright", "credits" or "license" for more information. IPython 8.8.0. An enhanced Interactive Python. In [1]: runfile('C:/Users/Zaina/untitlede.py', wir= 'C:/Users/ Zainat) File

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions