title: Boolean keys with other data types in dictionary
body: <p>I was going through some python dictionary links and found this. </p>
  
  <p>I can't seem to understand what is happening underneath.</p>
  
  <pre><code>dict1 = {1:'1',2:'2'}
  print dict1
  </code></pre>
  
  <p>output</p>
  
  <pre><code>{1:'1',2:'2'}
  </code></pre>
  
  <p>But if I add a boolean key to the dictionary, it gives something weird.</p>
  
  <pre><code>dict2 = {True:'yes',1:'1',2:'2'}
  print dict2
  </code></pre>
  
  <p>output</p>
  
  <pre><code>{True:'1',2:'2'}
  </code></pre>
  
  <p>Does it only happen if we include Boolean into the dictionary?</p>