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): 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -