Files
developer-roadmap/roadmaps/python/content/iterators@aB1LSQjDEQb_BxueOcnxU.md
T
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

9 lines
680 B
Markdown

# 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:
- [@official@Python Official Documentation on Iterators](https://docs.python.org/3/tutorial/classes.html#iterators)
- [@article@Python Iterators](https://www.programiz.com/python-programming/iterator)
- [@article@Iterators and Iterables in Python](https://realpython.com/python-iterators-iterables/)