Re: [Tutor] Generic For Loop

2011-10-12 Thread Alan Gauld
On 13/10/11 01:41, Max S. wrote: I've been doing some research into C++, and I've noticed the for loops. If you are trying to program in Python you should probably research Python rather than C++. Any tutorial will provide information about for loops... Is there a way to use the C++ versio

Re: [Tutor] Generic For Loop

2011-10-12 Thread Max S.
Thanks! On Wed, Oct 12, 2011 at 8:56 PM, bob gailer wrote: > On 10/12/2011 8:41 PM, Max S. wrote: > >> 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 Py

Re: [Tutor] Generic For Loop

2011-10-12 Thread bob gailer
On 10/12/2011 8:41 PM, Max S. wrote: 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

[Tutor] Generic For Loop

2011-10-12 Thread Max S.
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 f