These are examples how use the python's functions:
- map()
- filter()
- reduce()
- lambda
-
map(): We use this function to get a list of tuples with (key, value).
-
filter(): The function allows apply a filter' function (condition) to one list.
-
reduce(): Allows get a result list, after apply Map().
-
lambda: Allow define a one line function (without name / anonymous functions).