jadelord,

It exists, kind of. Python has this construct


<span style="color:#323232;">for item in iterable:
</span><span style="color:#323232;">    ...
</span><span style="color:#323232;">else:
</span><span style="color:#323232;">     ...
</span>

which always puzzles me, since it depends on a break statement execution. I always have to look it up when the else block is executed.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #