For amazing, structured courses on programming, join Codecademy: https://bit.ly/2M3t5Mr
In this video I demonstrate how to write an iterator class/object in python.
An iterator is an object that contains a countable number of values.
An iterator is an object that can be iterated upon, meaning that you can traverse through all the values.
Technically, in Python, an iterator is an object which implements the iterator protocol, which consist of the methods __iter__() and __next__().
The next video will be about Generators.
On this page of the site you can watch the video online How to write an 'Iterator Object' in Python with a duration of hours minute second in good quality, which was uploaded by the user RAWR Coding 28 May 2019, share the link with friends and acquaintances, this video has already been watched 283 times on youtube and it was liked by 7 viewers. Enjoy your viewing!