title: Way to compare dictionary keys and values in python
body: <p>I have:</p>
  
  <pre><code>dictionary1 = {'Zookeeper': 3, 'Profit': 3, 'Collector': 3, 'Service': 3}
  </code></pre>
  
  <p>and</p>
  
  <pre><code>dictionary2 = {'Zookeeper': 2, 'Profit': 2}
  </code></pre>
  
  <p>The <code>dictionary2</code> may or may not be of same length and may or may not have the same values as of <code>dictionary1</code>. How do I write a Python function to compare these dictionaries and print the key from <code>dictionary2</code> which do not match values with <code>dictionary1</code>?</p>
  
  <p>I came up with this which only matches the keys:</p>
  
  <pre><code>check_result = set(dictionary1.keys()) == set(dictionary2.keys())
  </code></pre>
  
  <p>But I need something more precise.</p>