The filter() function in Python is used to filter elements from a sequence (like a list, tuple, or set) based on a condition provided by a function. It returns an iterator that contains only those elements for which the condition (function) returns True.
-
Notifications
You must be signed in to change notification settings - Fork 0
The filter() function in Python is used to filter elements from a sequence (like a list, tuple, or set) based on a condition provided by a function. It returns an iterator that contains only those elements for which the condition (function) returns True.
ThakurAashish/filter-function-
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
The filter() function in Python is used to filter elements from a sequence (like a list, tuple, or set) based on a condition provided by a function. It returns an iterator that contains only those elements for which the condition (function) returns True.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published