Python · Lesson 8.4 · Pro

any, all, map and filter

Built-ins that answer "is any of them...?", "are all of them...?", and apply a function to every item.

In this lesson

  1. any and all
  2. Validate data quickly
  3. map: apply a function to everything
  4. filter: keep what passes