title: Python dictionary: Assign value as variable to key
body: <p>I am a python beginner and created a short dictionary that links capital letters as keys to 1x3 arrays as the respective values. So something similar to this:</p>
  
  <pre><code>dict = {'A': array([1, 2, 3]), 'B': array([2.1, 3.2, 4]), etc. }
  </code></pre>
  
  <p>As part of my program I need to assign the key to the value as a function. But instead of writing:</p>
  
  <pre><code>A = array([1, 2, 3])
  B = array([2.1, 3.2, 4])
  etc.
  </code></pre>
  
  <p>I want to find a more general, abstract, simpler code. So far I could come up with:</p>
  
  <pre><code>for i in dict:
    i = dict[i]
  </code></pre>
  
  <p>But this does not quite work and I am unsure why. Sorry that I can not give a better error description here, but I don't have access to my code at the moment.
  Any help is appreciated! Thanks in advance!</p>