xxxxxxxxxx
# Add two lists using map and lambda
numbers1 = [1, 2, 3]
numbers2 = [4, 5, 6]
result = map(lambda x, y: x + y, numbers1, numbers2)
print(list(result))
xxxxxxxxxx
# welcome to softhunt.net
# Add two lists using map and lambda
num1 = [10, 10, 10, 10]
num2 = [10, 30, 50, 70]
ans = map(lambda x, y: x + y, num1, num2)
print(list(ans))
xxxxxxxxxx
num = [1,2,3]
num1 = [5,6,7]
res = list(map(lambda x, y: x+y, num, num1))
print("Summation =",res)