Elif
Use elif when there is another condition to check after an earlier condition fails. Atom runs the first matching block.
Detect critical health
Test for zero health before testing the low-health threshold.
health = 20
if health <= 0:
print('Dead')
elif health < 25:
print('Critical health')
else:
print('Healthy')
Critical health
The first condition fails and the second succeeds, so the else block is skipped.