title: Mapping dictionary value to list
body: <p>Given the following dictionary:</p>
  
  <pre><code>dct = {'a':3, 'b':3,'c':5,'d':3}
  </code></pre>
  
  <p>How can I apply these values to a list such as:</p>
  
  <pre><code>lst = ['c', 'd', 'a', 'b', 'd']
  </code></pre>
  
  <p>in order to get something like:</p>
  
  <pre><code>lstval = [5, 3, 3, 3, 3]
  </code></pre>