title: Return different value when querying dictionary
body: <p>I am pulling from a dictionary in Python. I have it setup like this:</p>
  
  <pre><code>entries = [
      {'website': 'yahoo','username': 'jblumberg','password': 'sdkljfhwe'},
      {'website': 'google','username': 'jblumberg1','password': 'CoIushujSetu'}
      ]
  </code></pre>
  
  <p>I am asking the user to give me a website so I can return the password as so:</p>
  
  <pre><code>def lookup_password(website):
  
      if website in entries.keys():
          encrypted_password = entries[website]
  
      return password_encrypt(encrypted_password, -encryption_key)
  
      pass
  </code></pre>
  
  <p>However that won't give me what I want. How do I set it up to give me the password value for the provided website?</p>