title: Why does this piece of python code return true?
body: <pre><code>rec = {&quot;Name&quot; : &quot;Python&quot;, &quot;Age&quot;:&quot;20&quot;, &quot;Addr&quot; : &quot;NJ&quot;, &quot;Country&quot; : &quot;USA&quot;}
  id1 = id(rec)
  del rec
  print(id(id1))
  rec = {&quot;Name&quot; : &quot;Python&quot;, &quot;Age&quot;:&quot;20&quot;, &quot;Addr&quot; : &quot;NJ&quot;, &quot;Country&quot; : &quot;USA&quot;}
  id2 = id(rec)
  print(id(id2))
  print(id1 == id2)
  </code></pre>
  <p>This returns true. But the printed values are not same. What is the reason for this?</p>
  <p>Values printed:</p>
  <pre><code>140647920868368
  140647920868336
  True
  </code></pre>
  <p><img src="https://i.stack.imgur.com/CHRFb.png" alt="Printed values of this code" /></p>