Files
developer-roadmap/roadmaps/python/content/iterators@aB1LSQjDEQb_BxueOcnxU.md
Kamran AhmedandJavier Canales ad4b245acb Link python roadmap topics to related python guides (#10373)
* Link python roadmap topics to related python guides

* Update basic-syntax@6xRncUs3_vxVbDur567QA.md

* Update conditionals@NP1kjSk0ujU0Gx-ajNHlR.md

* Update data-structures--algorithms@VJSIbYJcy2MC6MOFBrqXi.md

* Update exceptions resource list

Removed two resources related to Python exceptions from the list.

* Update file-handling@Nf3kRDSl_vas6QPXG7eVa.md

* Update object-oriented-programming@P_Di-XPSDITmU3xKQew8G.md

* Update tuples@i7xIGiXU-k5UIKHIhQPjE.md

---------

Co-authored-by: Javier Canales <56018501+jcanalesluna@users.noreply.github.com>
2026-09-24 16:42:18 +02:00

786 B

Iterators

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() .

Visit the following resources to learn more: