0

Please tell me what is wrong in it

weight = float(input()) height = float(input()) bmi = weight/height**2 print(bmi) if bmi >= 18.5 and bmi<25: print("normal") elif bmi < 18.5: print("underweight") elif bmi>=25 and bmi <30: print("overweight") elif bmi >= 30: print("obesity")

7th Jan 2022, 2:44 PM
SAM
3 Answers
+ 5
Your output should be same as expected output. #print(bmi) First letter is uppercase
7th Jan 2022, 2:51 PM
Simba
Simba - avatar
+ 2
Change the case of the letters I meant: Don't use underweight use Underweight
7th Jan 2022, 2:51 PM
NEZ
NEZ - avatar
0
Scrutinize your logic. Some of it is wrong and does not match the requirements.
10th Jan 2022, 2:36 AM
Brian
Brian - avatar