Hey, I came across a problem in my code, which is somewhat like this:
[[1,2],[3,4,5,6],[7,8,9]]
I want to flatten this list into a single list, somehow like this:
[1,2,3,4,5,6,7,8,9]
How can I do this? Can anyone help?
Hey, I came across a problem in my code, which is somewhat like this:
[[1,2],[3,4,5,6],[7,8,9]]
I want to flatten this list into a single list, somehow like this:
[1,2,3,4,5,6,7,8,9]
How can I do this? Can anyone help?