in Python by
Q:
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.

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

Related questions

0 votes
asked Dec 31, 2020 in Python by SakshiSharma
0 votes
asked Sep 20, 2020 in XML by Robindeniel
0 votes
asked Sep 9, 2020 in PMP by Robindeniel
+1 vote
asked Sep 9, 2020 in PMP by Robindeniel
0 votes
asked Jan 6, 2020 in Angular by sharadyadav1986
...