SyntaxFix
Write A Post
Hire A Developer
Questions
Something is wrong with your Python/Computer.
a = iter(list(range(10))) for i in a: print(i) next(a) >>> 0 2 4 6 8
Works like expected.
Tested in Python 2.7 and in Python 3+ . Works properly in both