I have two list but i need to join them after another element.
This is the example:
A = [[1,1,1], [1,0,1], [1,1,1], [1,0,1], [1,0,1]]
B = [[1,1,0], [1,0,1], [1,1,0], [1,0,1], [1,1,0]]
I need to have a list something like:
[[1,1,1], [1,1,0], [1,0,1], [1,0,1], [1,1,1], [1,1,0], [1,0,1], [1,0,1], [1,0,1], [1,1,0]]
If you dont get it heres an example with variables:
A = [a, b, c, d, e]
B = [f, g, h, i, j]<pre>
<pre> [a, f, b, g, c, h, d, i, e, j]
What I have tried:
A = [[1,1,1], [1,0,1], [1,1,1], [1,0,1], [1,0,1]]
B = [[1,1,0], [1,0,1], [1,1,0], [1,0,1], [1,1,0]]
for i in A:
A.append(B)(for i in A[i])