Python基础 · free preview
Iteration Protocols and Functional Tools
Implement the iterator protocol on your own classes, walk sequences in parallel with zip, and map and filter data with the functional built-ins.
1. Overview
Overview
2. Making Your Own Iterable
Making Your Own Iterable
3. Walking Sequences Together
Walking Sequences Together
4. map and filter
map and filter
5. Asking Questions of a Sequence
Asking Questions of a Sequence
6. Days and Readings
Days and Readings
7. A Countdown Iterable
A Countdown Iterable
Practice this interactively
Free account · instant grading · spaced review that schedules itself.
Start this course for free