I've been doing some research into C++, and I've noticed the for loops.  Is
there a way to use the C++ version of the loops instead of the Python one?
For example, I believe that the Python syntax would be:

for a=1, a < 11, a += 1:
    print(a)
print("Loop ended.")

if the 'for' keyword did it's function as in C++, Actionscript, or most
other programming languages.  Is there a way to do this?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to