A simple BMI (Body Mass Index) calculator built using Python and Streamlit to explore how Streamlit’s graphical user interface works.
This project demonstrates how to collect user input, perform calculations, and display interactive results in real time.
- Input weight (kg) and height in centimeters, meters, or feet
- Automatically calculates and displays BMI value
- Classifies results (Underweight, Healthy, Overweight, etc.)
- Interactive Streamlit UI that’s simple and beginner-friendly
- Language: Python
- Framework: Streamlit
- IDE Recommended: VS Code or PyCharm
- Clone the repository
git clone https://github.com/mercie-ux/BMI-calculator.git cd BMI-calculator -
python -m venv venv venv\Script\activate - Install dependencies
pip install streamlit - Run the streamlit app
streamlit run BMI.py