I have a list that looks like this:
N_y=[[[1,2,3],[4,5,3],[2,5,8]]]
How do I breakdown N_y
to just one list of items, ie:
Output expected: [[1,2,3],[4,5,3],[2,5,8]]
My attempt:
j=str(N_y)[1:-1]
print j
Output "[[1,2,3],[4,5,3],[2,5,8]]"
The problem now is, j
comes out as a sting. Is there a quick method for de-listing without outputting strings?
Any suggestions? Thanks.