- 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")
1 Odpowiedź
+ 4
Why do you multiply bmi with 703???
– remove 703
– remove print(bmi)