title: Using a loop in Python to name variables
body: <p>How do I use a loop to name variables? For example, if I wanted to have a variable <code>double_1 = 2</code>, <code>double_2 = 4</code> all the the way to <code>double_12 = 24</code>, how would I write it?</p>
  <p>I get the feeling it would be something like this:</p>
  <pre><code>for x in range(1, 13):
      double_x = x * 2 
      # I want the x in double_x to count up, e.g double_1, double_2, double_3
  </code></pre>
  <p>Obviously, this doesn't work, but what would be the correct syntax for implementing the looped number into the variable name? I haven't coded for a while, but I do remember there was a way to do this.</p>