overriding list method
<p>Im trying to override a List method and append 2 elements,How can I do that?</p>

<p>code.py</p>

<pre><code>class LI(list):
    def append(self, item):
        self.append(item)


l = LI([100, 200])
l.append(302)
l.append(402)

print l
</code></pre>

<p>Final output:- <code>[100,200,302,302,402,402]</code></p>
