Introduction
The filter method helps you pick only the items you want from a list. It makes a new list with just those items.
When you want to find all even numbers from a list of numbers.
When you want to get all names that start with a certain letter.
When you want to remove unwanted items from a list, like expired products.
When you want to find all users who are active in a list of users.