JPDev@programming.dev to Programmer Humor@programming.dev · 2 years agoifn'tprogramming.devimagemessage-square120linkfedilinkarrow-up1731arrow-down19
arrow-up1722arrow-down1imageifn'tprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 2 years agomessage-square120linkfedilink
minus-squarejadelord@discuss.tchncs.delinkfedilinkarrow-up1·2 years 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.