in python assign a value based on dictionary mapping
<p>I was wondering if someone could explain this to me:</p>

<pre><code>In [400]: poz0=''

In [401]: poz1=''

In [402]: poz={0:poz0, 1:poz1}

In [403]: for i in range(1):
   .....:     poz[i]='some value '+str(i)
   .....:

In [404]:

In [405]: poz[0]
Out[405]: 'some value 0'

In [406]: poz0
Out[406]: ''
</code></pre>

<p>I was expecting for poz0 to be == poz[0], same for poz1, but its not. Anyone could explain why?</p>

<p>Thanks</p>
