Instruction: Explain the .filter() method's functionality and demonstrate its use with an example.
Context: Understanding the .filter() method is essential for working with sets of elements and dynamically adjusting the displayed content.
easy
medium