I remember I once seen a operator which is able to decompose a list in python.
for example
[[1],[2],[3]]
by applying that operator, you get
[1], [2], [3]
what is that operator, any help will be appreciated.
This can be achieved by running sum(list_name,[]) as mentioned here.
sum(list_name,[])
You may also find this question on flattening shallow lists relevant.