I have two lists, list1 and list2 that I am looking to connect by index of the elements. I am looking to get the output below.
I'm relatively new to python, and to programming so I'm not sure the correct definition of this.
Example:
list1 = [[a], [b], [c], [d]]
list2 = [[h], [i], [j], [k]]
Expected Outcome:
output = [[[a],[h]], [[b],[i]], [[c],[j]], [[d],[k]]]