title: Comparing Two Dictionaries Key Values and Returning the Value If Match
body: <p>I'm a beginner to Python, but I've been trying this syntax and I cannot figure it out -- which was been really baffling.</p>
  
  <pre><code>crucial = {'eggs': '','ham': '','cheese': ''}
  dishes = {'eggs': 2, 'sausage': 1, 'bacon': 1, 'spam': 500}
  
  if crucial.keys() in dishes.keys():
      print dishes[value]
  </code></pre>
  
  <p>What I want to do is -- if crucial has a key (in this case, <code>eggs</code>) in the dishes, it will return <code>2</code>. It seems simple enough, but I believe I must be messing some type of syntax somewhere. If someone could guide me a little, that would be greatly appreciated. </p>
  
  <p>The real dictionaries I'm comparing with is about 150 keys long, but I'm hoping this code is simple enough. </p>