0
Help find the errors BMI
height =int(input()) weight =float(input()) H =height W=weight**2 BMI = weight/height if BMI<18: #print(BMI) print('Underwight') elif 18>BMI<24: #print(BMI) print('Normal') elif BMI>24: #print(BMI) print('Obesity')
2 Antworten
+ 1
Shadrack nonyane
Some of the problems.
1. Spell Underweight
2. What if BMI == 18
3. What if BMI == 24
4. What happened to Overweight
There may be more, but I suggest you read the task very carefully
0
Thank you