Skip to content

SameehaSyed05/OIBSIP_PythonProgramming_Task2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

OIBSIP_PythonProgramming_Task2

πŸ“¦ Packages Used

tkinter β†’ For creating the graphical user interface (GUI)

ttk (from tkinter) β†’ For displaying BMI history in a table format

matplotlib β†’ For plotting BMI trend graphs

messagebox β†’ For showing pop-up alerts and errors

🎯 Objective

The purpose of this project is to create a user-friendly BMI Calculator that not only calculates BMI but also:

Stores a history of calculations

Displays results in a table format

Provides a graph to track BMI progress over time

πŸš€ Features

Input weight (kg) and height (m) to calculate BMI

Categorizes result into:

Underweight

Normal weight

Overweight

Obese

Stores all results in a history table (weight, height, BMI, category)

Graphical visualization of BMI trends using Matplotlib

Error handling for invalid inputs (e.g., negative values, non-numeric input)

πŸ–₯️ How It Works

Enter weight and height in the respective fields.

Click Calculate BMI β†’ Result is displayed with BMI value and category.

Each calculation is saved in history.

Click View History β†’ A table of past BMI calculations appears.

Click Show Graph β†’ A trend chart of BMI values is displayed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages