Python BMI Calculator

๐Ÿ“Œ Project Name: BMI Calculator in Python

๐Ÿ‘ฉ‍๐Ÿ’ป Created by: Rabi Warsi
๐Ÿ“… Year: 2025


๐Ÿ”ท What is BMI?

BMI (Body Mass Index) is a value derived from your weight and height to classify whether you're underweight, normal, or overweight.


๐Ÿ”ง Tools & Skills Used:

  • Python Programming
  • Conditional Statements
  • Basic Arithmetic Operations

๐Ÿงช How It Works:

The user enters their weight and height. The program calculates the BMI and gives a message based on the BMI category.


๐Ÿ–ฅ️ Code Preview:


weight = float(input("Enter your weight in kg: "))
height = float(input("Enter your height in meters: "))

bmi = weight / (height ** 2)

if bmi < 18.5:
    print("You are underweight.")
elif bmi <= 24.9:
    print("You are normal weight.")
else:
    print("You are overweight.")
  

๐Ÿ”— GitHub Link:

Click here to view the full code

Comments

Popular Posts