title: python dictionary match key values in two dictionaries
body: <p>In the below shown dictionaries i want to check whether the key in aa matches the key in bb and also the value corresponding to it matches in bb or not.Is there a better way to write this code</p>
  
  <pre><code>  aa = {'a': 1, 'c': 3, 'b': 2}
    bb = {'a': 1, 'b': 2}
  
    for k in aa:
      if k in bb:
        if aa[k] == bb[k]:
           print "Key and value bot matches in aa and bb"
  </code></pre>