List append comes out wrong : <p>I have the following piece of code as a problem.</p>

<pre><code>list = [ [ ] ] * 5
print list
list[0].append(1)
print list
</code></pre>

<p>The first line prints <code>[[][][][][]]</code> which is what it should print 
but the second print gives</p>

<p><code>[[1][1][1][1][1]]</code></p>

<p>why does this happen? it is supposed to append only to the first list. </p>
