tuple vs list objects in python
<p>Can someone explain me this?</p>

<pre><code>&gt;&gt;&gt; [] is []
False
&gt;&gt;&gt; () is ()
True
&gt;&gt;&gt; (1,) is (1,)
False
</code></pre>

<p>I understand that I should use "==" instead of "is"to compare the values, I am just wondering why it is this way?</p>
