How to use the control structure elif in Python?