in Python by
What Is The Difference Between An Iterator And Iterable?

1 Answer

0 votes

The collection type like a list, tuple, dictionary, and set are all iterable objects whereas they are also iterable containers which return an iterator while traversing.

Related questions

0 votes
asked Sep 21 in Python by sharadyadav1986
0 votes
asked Jan 1 in Python by SakshiSharma