Badge 08: List Comprehensions can Filter and Map (represent) Lists

In this badge you will learn about two most common things we can do with a List (ordered collection of values). We often want to filter the List and only keep some of its values, or we want to Map it to represent it as something simpler, or different. List Comprehension is a special syntax in Python enabling us to do both of these things very quickly, in a very few lines of code.


As in each badge:

  1. watch the three below videos while taking notes.
  2. complete the programming notebook for this badge
  3. write down in your mini-diary 3 things you learned and 1 you wish you understood better

Leave a Reply