Lessons
List comprehensions
Transform and filter a list in a single readable line.
10 min
Dict and set comprehensions
Build dictionaries and sets with the same one-line syntax.
9 min
enumerate() and zip()
Loop with an index, or walk through several lists side by side.
9 min
Sorting with key functions
Sort, rank and pick winners by any rule you like.
10 min
Generators and lazy iteration
Produce values on demand with generator expressions and yield.
11 min
Next module
Errors & Exceptions