title: Replace value of dictionary with key from another dictionary
body: <p>I have the following dictionaries in Python 2.7</p>
  
  <pre><code>dict1 = {'a':0, 'b':1, 'c':2,'d':3,'e':4,'f':5}
  dict2 = {'a':3, 'b':4, 'c':5}
  </code></pre>
  
  <p>I would like to iterate through the values in dict2 and replace them with the keys that correspond to those values in dict1 with the final dictionary being</p>
  
  <pre><code>dict3 = {'a':'d','b':'e','c':'f'}
  </code></pre>
  
  <p>I am trying to learn programming and have spent more than 3 hours trying different ways and searching the internet. Any help would be appreciated.</p>