title: Dynamically create variable names?
body: <p>I have some logic which I need to repeat 6 times. Result is stored in variable at the end, but I need variable name to be something as <code>data1</code>, <code>data2</code>, <code>data3</code>, etc. So if I have:</p>
  
  <pre><code>for x in range(0, 3):
     ...some logic...
     data = result
  </code></pre>
  
  <p>How can I get data variable named as <code>data1</code>, <code>data2</code> etc based on the loop number?</p>