loops - Python out-of-order range? -
instead of doing
for in range(begin, end):
i want like
for in begin+1, begin+2, begin, begin+3 through end:
if makes sense @ all?
for in [begin+1, begin+2, begin] + range(begin+3, end):
instead of doing
for in range(begin, end):
i want like
for in begin+1, begin+2, begin, begin+3 through end:
if makes sense @ all?
for in [begin+1, begin+2, begin] + range(begin+3, end):
Comments
Post a Comment