title: Is there a way to append an integer to the end of a variable name in python
body: <p>after much googling i now ask. Is there a way to append an integer to the end of a variable name. Essentially creating a new variable with each iteration of a for loop. IE:</p>
  
  <pre><code>def parser(lst):
      count = 0
      for obj in lst:
          if isinstance(obj,list):
              parser(obj)
          else:
              for string in obj:
                  var+count = o
  </code></pre>
  
  <p>This is what i get when i try to run above code:</p>
  
  <pre><code>SyntaxError: can't assign to operator
  </code></pre>