7 Respuestas
+ 3
x = iter([1,2,3]) #iterator object
print(next(x)) #get "next" item
print(next(x)) #get "next" item
+ 2
example?
+ 1
It get next item from iterator object passed like argument
+ 1
For understand that you have to understand how create and use objects that implement Iterator protocol
0
https://code.sololearn.com/cMtsGk7wECzt/?ref=app