height = float(input("enter your height in m: "))
weight = float(input("enter your weight in kg: "))
bmi = round(weight / height ** 2)
if bmi < 18.5:
print(f"your BMI is {bmi} , you are underweight")
elif bmi< 25.0:
print(f"Your BMI is {bmi} , you are a normal weight")
elif bmi < 30.0:
print(f"Your BMI is {bmi} , you are a slightly overweight")
elif bmi < 35.0 :
print(f"Your BMI is {bmi} , you are obese")
else:
print(f"Your BMI is {bmi} , you are clinically obese")
f-string 은 무적이다.