0

BMI calculator test 4 and 5 failed and they are hidden

#your code goes here #your code goes here #your code goes here w=float(input()) h=float(input()) B=w/(h**2) if B<18.5: print("Underweight") elif B>=18.5 and B<25: print("normal") elif B>=25 and B<30: print("Overweight") elif B>=30: print("Obesity")

24th Aug 2021, 3:22 AM
Sourav O
Sourav O - avatar
2 Respostas
+ 6
N should be uppercase in Normal print("Normal")
24th Aug 2021, 3:38 AM
Simba
Simba - avatar
0
w=float(input()) h=float(input()) B=w/(h**2) if B<18.5: print("Underweight") elif B>=18.5 and B<25: print("normal") elif B>=25 and B<30: print("Overweight") elif B>=30: print("Obesity")
3rd Nov 2022, 8:20 AM
SHREEMAN R
SHREEMAN R - avatar