title: How to assign each element of a list to a separate variable?
body: <p>if I have a list, say:</p>
  
  <pre><code>ll = ['xx','yy','zz']
  </code></pre>
  
  <p>and I want to assign each element of this list to a separate variable:</p>
  
  <pre><code>var1 = xx
  var2 = yy
  var3 = zz
  </code></pre>
  
  <p>without knowing how long the list is, how would I do this?  I have tried:</p>
  
  <pre><code>max = len(ll)
  count = 0
  for ii in ll:
      varcount = ii
      count += 1
      if count == max:
          break
  </code></pre>
  
  <p>I know that varcount is not a valid way to create a dynamic variable, but what I'm trying to do is create <code>var0</code>, <code>var1</code>, <code>var2</code>, <code>var3</code> etc based on what the count is.</p>
  
  <p><strong>Edit:</strong>:</p>
  
  <p>Never mind, I should start a new question.</p>