title: Problem when appending a variable with a numbering scheme to a list
body: <pre><code>a1 = 0
  a2 = 1
  
  x = [] #here I have declared an empty list
  for i in range(2):
      x.append('a'+str(i+1)) #to append the variable with a numbering scheme
  print (x)
  </code></pre>
  
  <p>This is a sample python code. A similar situation that I am facing in a programming task . </p>
  
  <p>Here the output is <code>['a1','a2']</code> instead I need the output as <code>[0,1]</code>. Can someone help me with this ?</p>