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.
En esta página del sitio puede ver el video en línea How to write an 'Iterator Object' in Python de Duración hora minuto segunda en buena calidad , que subió el usuario RAWR Coding 28 mayo 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 283 veces y le gustó 7 a los espectadores. Disfruta viendo!