Question(s):

Explain about the Map function in Python

Sample Answer:

The Map function in Python is used to execute the function that is passed on as the first parameter to the Map function on all the elements of the iterable (list, tuple, etc) that is passed on as the second argument. It return a Map object (list of results) of the results after applying the provided function (1st parameter) on each of the iterable passed (2nd parameter).

Related Posts