0
What should I change about this code to get an output
2 Answers
0
You wrote "<=18" in the second if, when it should be ">=18"..
You also missed "BMI" after "and" in your if statements.
And finally you should convert your inputs to float, like: float(input())
Here is a working code:
https://code.sololearn.com/cT9I8MGF0BIi/?ref=app