0 votes
in Python by
Can you please explain what is the difference between an Iterator and Iterable?

1 Answer

0 votes
by

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.

Here are some advanced-level Python Language interview questions.

...