- 1

Trying to make BMI calculator, My output is same as expected output but it still shows as filed

weight = int(input()) height = float(input()) bmi = weight/float(height * height) if bmi < 18.5: print("Underweight") elif bmi >= 18.5 and bmi < 25: print("Normal") elif bmi >= 25 and bmi < 30: print("Overweight") else: print("Obesity")

2nd Nov 2022, 10:40 PM
Ritika Nagpal
1 Resposta
+ 4
Why do you multiply bmi with 703??? – remove 703 – remove print(bmi)
2nd Nov 2022, 10:49 PM
Lisa
Lisa - avatar