0

What's wrong here?

BMI calculator in python: #your code goes here weight=int(input()) height=float(input()) BMI=weight/(height**2) if(BMI<18.5): print("Under Weight") elif(BMI>=18.5 and BMI<=25): print("Normal") elif(BMI>=25 and BMI<=30): print("Over weight") else: print("Obesity")

23rd Dec 2021, 12:46 PM
Priyanka Singh
Priyanka Singh - avatar
3 odpowiedzi
- 1
Your output statement should exactly match the one given in the problem. Underweight and Overweight.
23rd Dec 2021, 1:22 PM
Avinesh
Avinesh - avatar
0
Thankyou.. Now it's executed. I added space b/w Underweight.
23rd Dec 2021, 3:18 PM
Priyanka Singh
Priyanka Singh - avatar