I have two lists of lists that have equivalent numbers of items. The two lists look like this:
L1 = [[1, 2], [3, 4], [5, 6]] L2 =[[a, b], [c, d], [e, f]] >
You want to combine the sublists with the plus operator, and iterate over them in a list comprehension:
Lmerge = [i1 + i2 for i1, i2 in zip(L1, L2)]