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.
I have absolutely zero preference
Results (87 votes),