►
Run
x = ['apple', 'banana', 'cherry'] iterator = iter(x) print(next(iterator)) print(next(iterator))
Output