Python loop through a range of variables
<p>I have a number of variables iE: <code>x1</code> to <code>x10</code></p>

<p>Now I'd like to get the content of each of them.</p>

<p>Is it possible to put the variable together like <code>xi</code>?
Or should I just use Lists?</p>

<p>Kind of lost on the Syntax here I believe!
Something like that is what im thinking of:</p>

<pre><code>while i &lt;= 10:
    print(test+i)
</code></pre>
