100 Days of Code: The Complete Python Pro Bootcamp Day 2.
My code:
weight = float(input("Input your weight (kg): "))
height = float(input("Input your height (m): "))
bmi = weight/ (height ** 2)
if bmi < 18.5:
print("underweight")
elif bmi >= 18.5 and bmi < 25:
print("normal weight")
elif bmi >= 25:
print("overweight")