Convert multi-dimensional list to a 1D list in Python
<p>A multidimensional list like <code>l=[[1,2],[3,4]]</code> could be converted to a 1D one by doing <code>sum(l,[])</code>. Can anybody please explain how that happens?</p>

<p>Thanks,<br>
Sayan</p>
