Python: assign values to variables in a list or object
<p>I want to do the following:</p>

<pre><code>a = 1
b = 2
c = 3
tom = [a,b,c]
for i in tom:
    i = 6
</code></pre>

<p>The desired result is <code>a = 6</code></p>

<p>The actual result is <code>a = 1</code></p>

<p>I'm guessing that there is no way to do this without some kind of exec. Correct?</p>
