title: How to use variable in name in python
body: <p>I have 1000 variables, <code>a1,a2,a3,a4,a5</code> and so on. Is there a way to initialize all to value 100 using loop</p>
  
  <p>My attempt:</p>
  
  <pre><code>for i in range(1,1001):
      "a"i=100
  </code></pre>
  
  <p>I am missing basic syntax here.</p>