Python program to calculate Body Mass Index (BMI)
The Body Mass Index (BMI) is a quick way to assess your body size simply with your weight and height, regardless of your gender. Quickly calculate your BMI and find out which category you fall into.
The Body Mass Index (BMI) is the only index validated by the World Health Organization to assess an individual’s build and therefore health risks. The BMI makes it possible to determine whether one is the situation of thinness, overweight or obesity for example.
In this program we will calculate BMI. Body mass index (BMI) is a measure of body fat based on height and weight that applies to adult men and women.
Python Code: Write a program that calculates and displays a person’s body mass index in python
print("Enter person's information:")
height = float(input("height (in inches)? "))
weight = float(input("weight (in pounds)? "))
bmi = weight / height** 2 * 703
if bmi < 18.5:
elif bmi < 25:
elif bmi < 30: