The filter function in Python

The filter function in Python

The filter function is used to build an iterator (a list, tuple etc.) after taking an iterable and a function as parameters. The built iterator contains only those items that returned as true after passing to function.

Demos and Full Guide
What is Python map function?

What is Python map function?

The Python map() function is used to apply a function (custom or built-in) to each item of one or more iterables (lists, tuples, set etc.). The map returns iterable e.g. a list after applying the given function – yielding the result.

Demos and Full Guide
What is Python join method?

What is Python join method?

The Python join method concatenates the string of a given sequence. The sequence can be lists, tuple, range. The elements of a sequence are joined by a given separator e.g. by space, comma, tab etc.

Demos and Full Guide