The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
An iterable is an object which one can iterate over. An iterator is an object which is used to iterate over an iterable object. All iterators are iterables, but not all iterables are iterators. For instance, a list is an iterable but it is not an iterator. Using the method iter() on a list will return an iterator. (geeksforgeeks.org/python-difference-iterable-iterator)
Question difficulty: 🔵🔵🔵🔵🔵