1 / 12

Two Words in Other People's Code

Read enough Python written by other people and two words keep turning up: map and filter.

They look new. They aren't, really. Each does a job you already know how to do with a comprehension — they're just an older, more roundabout way of saying it.

So this lesson is less about writing something new and more about recognising it. When you meet these, you'll know exactly what they mean.