 <p>Youre question is confusing on the output you are trying to achieve but,</p> <p>you could use a <code>list</code> like this:</p> <pre><code>list1 = [1,2,3,4] return list1 </code></pre> <p>then you can acsess those values from on variable</p> <p>More on <a href="http://docs.python.org/release/1.5.1p1/tut/lists.html" rel="nofollow">lists</a></p>