0

What's wrong with my code??? Pls help me in figure it out .

weight=int(input()) height= float(input ()) BMI=(weight) /(height )*(height ) 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")

25th Aug 2022, 2:55 AM
Golu
Golu - avatar
2 Réponses
0
Thanks...(height*height) it works
26th Aug 2022, 2:26 AM
Golu
Golu - avatar