SyntaxFix
Write A Post
Hire A Developer
Questions
By using iter builtin:
iter
l = [1, 2, 3] # i is the first item. i = iter(l) next(i) for d in i: print(d)