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

▼ Show 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.

Learn More with Madanswer

Related questions

+1 vote
asked Feb 13 in Python by SakshiSharma