Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions