in reply to Moving to next iteration of a while loop
The next statement comes after the print. For a meaningful test, it should be the other way round...
UPDATE: That was stupid from me. What I think is happening, if a line begins with an 'E' or 'G' you never hit the next statement, so the if statement is executed.
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (489 votes). Check out past polls.