0
BMI Calculator
Guys, please help in this project code. Link of the the code: https://code.sololearn.com/c8vVY4jFslVb/#py
4 odpowiedzi
+ 2
Use "elif" to chain the conditions. Check the indentation. And there's a typo in the last print ("Print" must be "print")
+ 1
Have you heard that proper indentation is critical in Python? Now you are beginning to learn the reason why. Fix the indentation.
0
I have already tried it.
0
Two things:
1. Lines inside the if/else statements need to be indented. Use tab for that.
2. Instead of using an else statement and nesting another if inside it, you should write them as elif statements. Only the last condition should be else, for when no other condition is met.