I have now:
list1 = [1, 2, 3] list2 = [4, 5, 6]
I wish to have:
[1, 2, 3] + + +
It's simpler to use numpy from my opinion:
numpy
import numpy as np list1=[1,2,3] list2=[4,5,6] np.add(list1,list2)
Results:
For detailed parameter information, check here: numpy.add