JPDev@programming.dev to Programmer Humor@programming.dev · 10 months agoifn'tprogramming.devimagemessage-square123fedilinkarrow-up1756arrow-down111
arrow-up1745arrow-down1imageifn'tprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 10 months agomessage-square123fedilink
minus-squarejadelord@discuss.tchncs.delinkfedilinkarrow-up6·10 months agoIt 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.
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.