Difficulty is understanding

I didn’t get the concept of iterable and iterator properly. I feel like things were not clearly explained and messed up a bit, in the video. What can I do now?

hi @RahulNM19
here the brief
Iterable is an object, which one can iterate over. It generates an Iterator when passed to iter() method. Iterator is an object, which is used to iterate over an iterable object using next() method. Iterators have next() method, which returns the next item of the object.

Note that every iterator is also an iterable, but not every iterable is an iterator. For example, a list is iterable but a list is not an iterator. An iterator can be created from an iterable by using the function iter().