For-loops in python

Posted by Znarkus on Stack Overflow See other posts from Stack Overflow or by Znarkus
Published on 2010-04-12T21:21:21Z Indexed on 2010/04/12 22:23 UTC
Read the original article Hit count: 348

Filed under:
|
|

What is the best way of doing this in Python?

for (v = n / 2 - 1; v >= 0; v--)

I actually tried Google first, but as far as I can see the only solution would be to use while.

© Stack Overflow or respective owner

Related posts about python

Related posts about for-loop