• jadelord@discuss.tchncs.de
    link
    fedilink
    arrow-up
    8
    ·
    11 months ago

    It exists, kind of. Python has this construct

    for item in iterable:
        ...
    else:
         ...
    

    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.