0

Why isn't this code correct (code project BMI calculator)

weight=int(input()) height=int(input()) BMI=weight/(height**2)0 if BMI<18.5: print(Underweight) elif BMI>=18.5 and BMI<25: print(Normal) elif BMI>=25 and BMI<30: print(Overweight) elif BMI>=30 print(Obese)

15th Jun 2021, 5:40 AM
Mikhael bin Mohd Rafee
2 Réponses
+ 2
There are lots of syntax errors in your code. I think you must try revising python again as constant practice would make you better .
15th Jun 2021, 6:03 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 2
this thread is a duplicate of your previous one ^^ may be independant of you... please delete this one as the previous got answers ;)
15th Jun 2021, 7:12 AM
visph
visph - avatar