New submission from R Blackmore squan...@yahoo.com:
Using Python 3.2.2 on Windows 7
See attached file
Was having problem with a program I was doing... couldn't get around issue
unless I changed from while loop to for loop... WTF???
So restarted computer and then Python Shell and IDLE I wrote
R Blackmore squan...@yahoo.com added the comment:
for loop works correctly
prints
divisor 1
divisor 2
divisor 5 (original post incorrectly listed divisor 3,)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13206
Mark Dickinson dicki...@gmail.com added the comment:
Your 'i = i + 1' is at the wrong indentation level.
--
nosy: +mark.dickinson
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13206
R Blackmore squan...@yahoo.com added the comment:
I knew it was late...
Should have slept on it
Thanks
--- On Tue, 10/18/11, Mark Dickinson rep...@bugs.python.org wrote:
From: Mark Dickinson rep...@bugs.python.org
Subject: [issue13206] while loop vs for loop test
To: squan...@yahoo.com