for x = str(y) in range(0,5) .... in python?
<p>Real simple question. I'm trying to do this in python: </p>

<pre><code>for x = str(y) in range(0,5):
</code></pre>

<p>so that y will hold an integer, and x will hold the string representation of said integer. I realize I could 2 line it pretty easily - just wanting a shortcut.</p>

<p>Also, I'm curious as to what exactly I'm asking. I'm sure this has been answered a bazillion times throughout the forum, but I have no idea what the heck to search for to find it.</p>
