How does an if/elif/else chain choose what to execute?
if
elif
else
It always executes else before testing any conditions.
Indentation has no relationship to which statements belong to a branch.
It executes the first branch whose condition is true, or else if no earlier condition is true.
It executes every branch regardless of the conditions.