I've been struggling with this problem for a couple of hours and I can't seem to reach a solution. So I have two lists of lists in python:
list1=[['= 0\n', '= 1\n', '= 2\n', '= 3\n', '= 4\n'],['= 0\n', '= 1\n', '= 2\n']]
list2=[['a', 'b', 'c', 'd', 'e'],['a', 'b', 'c']]
and I want to combine these two lists of lists into something like:
[['a=0\n', 'b=1\n', 'c=2\n', 'd=3\n', 'e=4\n'], ['a=0\n', 'b=1\n', 'c=2\n']]
Basically, I want to take each element from the first list in list1 and append the first element from the first list in list2 and so on and keep the list of list structure.