This is the code that I have:
[[[3], [4]], [[5], [6]], [[7], [8]]]
How can I change it into:
[[3], [4], [5], [6], [7], [8]]
A uncompressed or long way:
l3d = [[[3], [4]], [[5], [6]], [[7], [8]]] l2d = [] for e1 in l3d: for e2 in e1: l2d.append(e2)