whats a map in python code example
Example 1: use map in python to take input
c = map(int,input().split)
Example 2: map in python
map(function_to_apply, list_of_inputs)
c = map(int,input().split)
map(function_to_apply, list_of_inputs)