0

Is there something wrong with this code ???

weight=float(input()) hight=float(input ()) bmi=weight/(hight **2) if (bmi<18.5 ): print ("Underweight") elif (bmi>=18.5) and (bmi <25.0): print ("Normal") elif (bmi>=25.0 )and (bmi <30.0): print ("Overwight") elif (bmi>=30.0 ): print ("Obesity")

11th Jan 2022, 11:46 AM
Night_owl
Night_owl - avatar
2 Answers
+ 5
print("Overweight")
11th Jan 2022, 11:56 AM
Simba
Simba - avatar
+ 1
Simba I didn't notice that thanks for the answer
11th Jan 2022, 11:59 AM
Night_owl
Night_owl - avatar