Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coddy

Python Iterators

via Coddy

Overview

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

Syllabus

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

Reviews

Start your review of Python Iterators

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.