Free
CourseLearn Intermediate Python 3: Iterators and Generators
Learn how to create and implement your own iterators and generators in Python.
Skill level
IntermediateTime to complete
Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary4 hoursCertificate of completion
Included with paid plansPrerequisites
1 courseWe suggest you complete the following courses before you get started with Learn Intermediate Python 3: Iterators and Generators:- Learn Intermediate Python 3: Exceptions and Unit Testing
About this course
Continue your Python 3 learning journey with Learn Intermediate Python 3: Iterators and Generators. Learn how to master iterators, the key to better code efficiency and management. Then learn about generators, which allow for the creation of iterators without having to implement __iter__()
and __next__()
methods.
Syllabus
Iterators & Generators
Take a peek under the hood of how Python uses Iterators!
Projects in this course
- Project
Event Coordinator
In this project, you will practice further with creating generators to retrieve and iterate through streams of data as well as using various methods to manipulate the generator data. - Project
New Teacher in Town
In this project, you will work with several different types of iterables to create iterators to help you set up and organize the new class you’ll be teaching.
Reviews from learners
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Join over 50 million learners and start Learn Intermediate Python 3: Iterators and Generators today!
Looking for something else?
Related resources
- Article
What is Python?
What is Python, and what can it do? - Article
Programming in Python on a Chromebook
This article will teach you how to run Python code on Chromebooks so you can do off-platform Python projects on your Chromebook. - Article
Installing Python 3 and Python Packages
Learn how to install Python packages and download Python 3 with Anaconda and Miniconda on Mac and Windows.
Related courses and paths
- Free course
Learn JavaScript: Iterators
Simplify the process of looping over arrays with iterator methods and learn how to build abstractions in JavaScript.Beginner Friendly2 hours - Free course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner Friendly15 hours - Free course
Velo by Wix: Working with Data
Work with JavaScript collection types, arrays and objects and incorporate these skills into Velo.Beginner Friendly6 hours
Browse more topics
- Python4,591,206 learners enrolled
- Computer Science7,537,798 learners enrolled
- Code Foundations13,310,036 learners enrolled
- For Business9,812,048 learners enrolled
- Web Development6,944,213 learners enrolled
- Data Science5,858,251 learners enrolled
- Cloud Computing4,156,711 learners enrolled
- Data Analytics3,963,322 learners enrolled
- IT3,919,213 learners enrolled
Unlock additional features with a paid plan
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.