I have two vectors in the form
a = [[1,2,3],[1,2,3],[1,2,3]]
b = [[5,6,7],[5,6,7],[5,6,7]]
I want the output to be
c = [[1,2,3,5,6,7],[1,2,3,5,6,7],[1,2,3,5,6,7]]
I got this line
c = [[a[i],b[i]] for i in range(len(a))]
but my output is
[[[1, 2, 3], [5, 6, 7]], [[1, 2, 3], [5, 6, 7]], [[1, 2, 3], [5, 6, 7]]