How would I replace variable names in list with values?
<p>I have two variables as follows:</p>

<pre><code>a = "1"
b = "21" 
</code></pre>

<p>and a list:</p>

<pre><code>['a', 'b', '3', '4', '5', '64']
</code></pre>

<p>How would I go about replacing variable names with their values in the list, like:</p>

<pre><code>['1', '21', '3', '4', '5', '64']
</code></pre>
