The Map,filter and reduce function arguments in Python must all be a function and a parameter.
The difference is:
When the map executes, a function is typically executed once for each element in the parameter or list, returning a list of the functions that were executed after the individual parameters. Map (function, sequence[, sequence, ...])-> list
Filter is the input of the list of parameters filtered, the general input function is a predicate function, returns a Boolean value, 1, the list of parameters will return, 0, it will not return. Finally returns a collection of arguments consisting of a Boolean value of 1.
Filter (function or None, sequence)-> list, tuple, or string
Reduce sums up the elements of the parameter list, and the input function typically requires two parameter values, and if you do not enter the initial parameter, the first two elements of the list are called as initial parameters, and the return value is evaluated as the next call's input parameter and the third element, and so on.
Reduce (function, sequence[, initial])-> value