Filter
Learn how to filter values from an iterable in this lesson.
We'll cover the following...
Filtering iterables
The filter
function can be used to remove items from an iterable based on a testing function. It returns an iterator to access the result. Here is an example:
Access this course and 1400+ top-rated courses and projects.