In this python programming video tutorial you will learn about iterators in detail.
Here we will discuss how for loop works internally.And about iterables and iterators.Everything we can loop over is called as iterables like list tuples strings sets and dictionaries.And iterables will give iterators . An iterator is an object that implements next. next is expected to return the next element of the iterable object that returned it, and raise a StopIteration exception when no more elements are available.
For more free tutorials on computer programming
/ amulsacademy
/ amulsacademy