Message145775
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 a very simple loop file... The 1st loop is a while loop that hangs and only prints divisor 1 and divisor 2 (Should also print divisor 5)
For loop works as expected printing
divisor 1
divisor 2
divisor 3
Unless I'm missing something both loops should return (i.e. print) same!
Cheers |
|
Date |
User |
Action |
Args |
2011-10-18 06:31:14 | JavaJunkie | set | recipients:
+ JavaJunkie |
2011-10-18 06:31:14 | JavaJunkie | set | messageid: <1318919474.2.0.667717683099.issue13206@psf.upfronthosting.co.za> |
2011-10-18 06:31:13 | JavaJunkie | link | issue13206 messages |
2011-10-18 06:31:13 | JavaJunkie | create | |
|