Help find the errors BMI | Sololearn: Learn to code for FREE!

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')

5/24/2022 4:05:48 AM

Shadrack nonyane

2 Answers

New Answer

+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