What is map function in Python?
In Python, the `map()` function is a built-in function used to apply a specified function to each item in an iterable (such as a list, tuple, or dictionary) and return a map object (an iterator) that contains the results of applying the function to each item. You can convert the map object into other iterable data types like a list or tuple using `list()` or `tuple()` if needed.