`while y < x` loop never ends
<p>I'm trying out Python, and, in my very tired state, can't seem to find the problem with the code below:</p>

<pre><code>import sys

def printNum(x):
    y = 0
    while y &lt; x:
        print "Number: ", y
        y = y + 1

printNum(sys.argv[1])
</code></pre>

<p>So, I'm trying to get it to print out <code>y</code> <code>x</code> times. <code>x</code> is passed as a parameter. The loop never ends and I don't know why!</p>
