Iteration, while loop, and for loop

BartC bc at
Tue Jun 28 09:29:48 EDT 2016

On 28/06/2016 14:15, Michael Selik wrote:
> On Tue, Jun 28, 2016 at 8:41 AM Elizabeth Weiss <cake240 at> wrote:
>> I do not understand the second code. What is counter?
> It looks like someone wanted to make a loop induction variable.

I don't know if that helps; I've never heard of an induction variable. 
And according to the first example in that link, then 'word' in the OP's 
second example might be classed as an induction variable too! Confusing.


More information about the Python-list mailing list