Write a Python function to add two given lists using map and lambda.
Topic: Write a Python function to add two given lists using map and lambda.
Solution
def add_two_lists(list_1, list_2): result = map(lambda x, y: x + y, list_1, list_2) return result
List all Python Programs