Else statement
suggest changeif condition:
body
else:
body
The else statement executes its body only if the if condition, and every elif condition, evaluates to false.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents