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.
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (375 votes). Check out past polls.