Inspiration
I was inspired to build this calculator because a person's BMI index is essential to finding out how vulnerable a person is to numerous diseases like diabetes, high blood pressure, etc. Knowing a person's BMI is very important to determine how vulnerable people could be to these diseases.
What it does
My BMI calculator takes a person's height (in inches) and their weight (in pounds) and uses a formula to compute a person's BMI. The BMI gets displayed onto the screen afterwards.
How we built it
I built the BMI calculator using the Tkinter GUI software in Python where the user records their weight and height in their respective prompts and a formula is used to compute the BMI given the height and weight of the user. The formula is: BMI = (Weight / (Height)^2) * 703. Then the BMI is displayed on the GUI screen along with some guidelines on healthy and unhealthy BMIs.
Challenges we ran into
It was challenging to do the formatting in the GUI screen and to properly utilize the height and weight data in the BMI formula, but I was able to fix these errors in time.
Accomplishments that we're proud of
I'm proud that I was able to properly master the GUI to build this calculator.
What we learned
I learned how to properly use a Tkinter GUI and its functions.
What's next for BMI Calculator
N/A
Built With
- python
- tkinter
Log in or sign up for Devpost to join the conversation.