Run ❯
Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
mylist = iter(["apple", "banana", "cherry"]) x = next(mylist, "orange") print(x) x = next(mylist, "orange") print(x) x = next(mylist, "orange") print(x) x = next(mylist, "orange") print(x)
apple
banana
cherry
orange