- 1

What is the problem?

#your code goes here weight = float(input()) height = float(input()) BMI = round(weight/(height**2)) if BMI < 18.5: print("Underweight") elif BMI >= 18.5 and BMI < 25: print("Normal") elif BMI >= 25 and BMI < 30: print("Overweight") elif BMI >= 30: print("Obesity") else: print("check your input")

30th Apr 2022, 11:40 PM
mobin___2001
mobin___2001 - avatar
1 Réponse
+ 3
Do not round the bmi.
1st May 2022, 8:52 AM
Lisa
Lisa - avatar