map() in Python

Source code :

a = [1,2,3,4]
b = [5,2,23,10]
c = [-1,7,5,9]
value=list(map(lambda x,y:x+y, a,b))
print(value)

Output :

[6, 4, 26, 14]

Output :


                

Comments :