I found that summing a list of list of number is:
In [9]: l = [[3,7,2],[1,4,5],[9,8,7]]
In [10]: [sum(i) for i in zip(*l)]
Out[10]: [13, 19, 14]
However I have been struggling to find a way to sum a list of list of tuples to result in a list of tuples
In [9]: l = [[(1, 1), (1, 1), (1, 1)],[(2, 2), (2, 2), (2, 2)]]
In [10]: [(sum(i[0]), sum(i[1])) for i in zip(*l)] #Did not work
This is my desired output:
Out[10]: [(3, 3), (3, 3), (3, 3)]
Thanks!