Testing Your Knowledge of Iterators and Iterables
00:00 Before you move on and create your own custom iterables and iterators, here are two interesting quizzes for you. Think about them carefully and share your answers or questions in the comments.
00:12 The first quiz is a question: Are all iterators iterables? What do you think? Comment your answers.
00:22 And the second quiz is, figure out if these objects are iterables, iterators, both, or neither. Tell us your answers or questions. You can check the answers by downloading the materials of this course.
00:40 So far, you know that built-in iterators, and iterables like lists are great, but how do you actually create your own custom one? For that, stay tuned for the next two lessons.
Become a Member to join the conversation.
taniferf on Oct. 30, 2024
Q. Are all iterators iterables? A. An iterator is not iterable. An iterator is a method that iterates the iterables.