A Python Shell Session on filtering lists. There are two original lists. One list contains numbers of 482, 107, 391, 172, 49, 234 and 510. The other list contains items of Potatoes, Pasta, Bacon, Leeks, Carrots, Peas and Fish. Filtering numbers greater than 200 gives the new list of 482, 391, 234 and 510. Filtering items beginning with P gives the new list of Potatoes, Pasta and Peas - here w[0] is used. Filtering items that are five characters in length gives the new list of Pasta, Bacon and Leeks.