As in, you can't write
Of course, an
else: # something herebecause again,
else
means "in the other case", so it has to follow an if
or elif
.Of course, an
if
on its own makes sense. You might want to do something when the condition is True
, but nothing if it is False
.