Note that else
in the if
statement, in a loop statement and in the try
statement are three very different things.
else
afterif
is executed if theif
condition is false.else
after a loop is executed if nobreak
was executed in the loop body.else
aftertry
is executed if no exceptions were raised in thetry
block.
It is coencidence that the same keyword is used in these cases. Maybe if Guido had used Dutch words, they would have been three different keywords.