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")
2 Réponses
+ 6
N should be uppercase in Normal
print("Normal")
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")