A little disappointed so far

Ype Kingma ykingma at accessforall.nl
Mon May 19 16:23:30 EDT 2003


Graham,

Jay O'Connor wrote:

> On Mon, 19 May 2003 02:17:39 +0100, Graham Nicholls
> <graham at rockcons.co.uk> wrote:
> 
>>
>>BTW, my i=i+1 bug - how do you avoid these, or are they common?

Iirc from your code you only use i to index a list of words.
If that is the case you might also:

for word in listOfWords:
    ...

and avoid using i completely.

Kind regards,
Ype Kingma


-- 
email at xs4all.nl




More information about the Python-list mailing list