0 votes
in Python by
Can you please help to clarify what are Python Language Iterators?

1 Answer

0 votes
by

Iterators in Python Language are array-like objects which allow moving on the next element. We use them in traversing a loop, for example, in a “for” loop.

Python Language library has a no. of iterators. For example, a list is also an iterator and we can start a for loop over it.

Related questions

0 votes
asked Aug 30, 2020 in Python by sharadyadav1986
0 votes
asked Aug 29, 2020 in Python by Robindeniel
...