Feb-25-2018, 07:19 AM
i use a one-time loop to surround code where i need a quick way out of a section of code. that way a
break
is somewhat like a goto end_of_block
. the way i have been making a one-time loop is like for x in 'x':
or other similar code. is this suitable or is there a better more pythonic way?