Run
x = [5, 7, 0, 4] x_iter = iter(x) print(next(x_iter)) print(next(x_iter)) print(next(x_iter)) print(next(x_iter))
Output