it calculates the bmi of a person
Fri Feb 27 2026 04:32:07 GMT+0000 (Coordinated Universal Time)
Saved by
@82michael.codes
#bmi
print("--- MY BMI CALCULATOR ---")
print(" 1 for Kilograms and Meters")
print("2 for Pounds and Inches")
unit_type = input("Choose 1 or 2: ")
if unit_type == "1":
w = float(input("place your weight in kg: "))
h = float(input("place your height in meters: "))
result = w / (h * h)
if unit_type == "2":
w = float(input("Enter weight in lbs: "))
h = float(input("Enter height in inches: "))
result = (w / (h * h)) * 703
print("Your BMI is:")
print(result)
if result < 18.5:
print("Status: Stick man.com")
elif result < 25:
print("Status:majembe")
elif result < 30:
print("Status: nicocado avocado")
else:
print("Status: you are huge")
content_copyCOPY
this helps understand whether you are healthy or not but caution please dont take anything serious the bad language is a joke.
made it myself
Comments