0

Why is that it doesn't work

Calculating bmi #your code goes here height = float(input ()) weight = float (input ()) bmi = weight / (height ** 2) 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')

26th Aug 2021, 9:14 AM
Ismael Wesa
2 Answers
0
replace the first and second rows
26th Aug 2021, 10:44 AM
Obloev Komronbek
Obloev Komronbek - avatar
0
Thanks
27th Aug 2021, 8:40 AM
Ismael Wesa