title: Python creating variables with names from range
body: <p>I want to use some code similar to what follows that actually works:</p>
  
  <pre><code>P = 20
  n = 1
  for x in range(1, P+1):
      Ax = n #Hoping that you can name the variable from the current element in the range
      n = n+1
  </code></pre>
  
  <p>I want to make varibles A1, A2, A3....A20   they would have the values 1, 2, 3...20  in this example...</p>
  
  <p>Is this possible at all, and what coding does it require?</p>
  
  <p>Cheers</p>