The map()
Map Function in Python.
map() function returns a map object(which is an iterator) of the results after applying the given function to each item of a given iterable (list, tuple etc.)
Syntax Syntax: map(fun, iter)
Parameters:
fun: It is a function to ...