129k views
3 votes
Examples of Iterability

User Fnllc
by
8.6k points

1 Answer

3 votes

Answer:

Familiar examples of iterables include lists, tuples, and strings - any such sequence can be iterated over in a for-loop. We will also encounter important non-sequential collections, like dictionaries and sets; these are iterables as well.

User Montoya
by
8.5k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.