Run ❯
Get your
own Python
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
mytuple = ("apple", "banana", "cherry") myit = iter(mytuple) print(next(myit)) print(next(myit)) print(next(myit))
x
mytuple
=
(
"apple"
,
"banana"
,
"cherry"
)
myit
=
iter
(
mytuple
)
print
(
next
(
myit
))
print
(
next
(
myit
))
print
(
next
(
myit
))
apple
banana
cherry