0
BMI Calc
Everything checked green except test case # 3, which is hidden. Do you see anything I missed ? weight = int(input()) height = float(input()) bmi = weight//height**2 if bmi < 18.5 : print("Underweight") elif 18.5 <= bmi < 25 : print("Normal") elif 25 >= bmi < 30 : print("Overweight") elif 30 <= bmi : print("Obesity")
2 Respuestas
+ 3
bmi = float(input())/float(input())**2
if bmi<18.5:print('Underweight')
elif 25>bmi>=18.5:print('Normal')
elif 30>bmi>=25:print('OverWeight')
elif bmi>=30:print('Obesity')