Рет қаралды 1,468
Python Exercises #01 | How to build a BMI Calculator
#Python
This will be a good exercise for us to express all that we have been learning about Python.
The Body Mass Index (BMI) is a simple calculator which calculates a person's height and weight.
The resulting number indicates one of the following categories:
Underweight = less than 18.4
Normal = greater than or equal to 18.5 and less than 24
Overweight = greater than or equal to 25 and less than 29
Obesity = 30 or more
The program will take a person's weight and height as input and generate the corresponding BMI category.