Courses
Programming language
Explore courses by programming language.
Course type
Learn, challenge or build your portfolio in a practice-driven way.
Level of knowledge
Choose courses tailored to your level of knowledge perfectly.
Or try to search for any course. Still can't find? let us know what are you missing!
Journey
Login
Creator
Anonymous
In this course you will learn about iterators in Python and practice your knowledge, after this course you will be able to master this topic!
Prerequisites
Good knowledge in Python
Introduction to Iterators
What are Iterators?
Iter() and Next() Functions
StopIteration Exception
Creating Custom Iterators
Implementing __iter__()
Implementing __next__()
Infinite Iterators
Iterator Tools
Built-in Iterator Functions
Itertools Module
Generator Expressions
Practice Challenges
Custom Range Iterator
Fibonacci Iterator
Cyclic Iterator
Filtered Iterator