in Python by
What Are Python Iterators?

1 Answer

0 votes

Iterators in Python 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 library has a no. of iterators. For example, a list is also an iterator and we can start a for loop over it.

Click here to read more about Python
Click here to read more about Insurance

Related questions

0 votes
asked Apr 4, 2020 in Data Handling by amita rallin
0 votes
asked Jan 1 in Python by SakshiSharma
0 votes
asked Aug 30, 2020 in Python by sharadyadav1986
0 votes
asked Jun 30, 2020 in Python by GeorgeBell
0 votes
asked Jun 26, 2020 in Python by AdilsonLima