Question: Demonstrate your ability to create a graphic user interface in Python using the Tkinter framework. Build an application which prompts the user for his or
Demonstrate your ability to create a graphic user interface in Python using the Tkinter framework. Build an application which prompts the user for his or her height and weight. Use this information to calculate the user's body mass index and provide feedback.
About BMI
Body Mass Index (BMI) is a predictor of health based on an easily calculated formula. The essential formula is this:
[weight / (height)2] x 703
where weight is measured in pounds and height is measured in inches.
Body mass is evaluated according to the following chart:
| BMI | status |
|---|---|
| under 18.5 | underweight |
| 18.51 to 24.9 | normal |
| 25 to 29.9 | overweight |
| 30 and over | obese |
The Interface
Create a graphical interface to communicate with the user. The GUI should have the following features:
Text entry fields to input height in feet and inches
A text entry field to input weight
Labels to indicate BMI and the user's status (underweight, normal, and so on...)
Labels to explain what each text field or label means
A button to begin the calculation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
