how to use map function for lists in list code example Example: python map map(function_to_apply, list_of_inputs)