0
9
llucycodes42
The code above evaluates the conditional expressions and ensures that the first matching condition is True. If no condition matches, the elseif is evaluated and so on. The code will ultimately end with an endif block that will execute the code in the else block if the evaluation of the conditional expressions concludes that there is no match.
Shortcut: ifelseifend
if (cond):
elseif (cond):
else:
endif;