how do i get rid of the error in my python 3.0 program? : <p>I don't understand what is wrong with my syntax. its a program to get a long number.
code:</p>

<pre><code>int_num=input('enter digits')
long_num=''
While int_num.isdigit()== True:
    long_num= long_num+int_num
    int_num=input('enter digits')    
print('long',long_num)   
</code></pre>

<p>error:</p>

<pre><code>File "&lt;ipython-input-1-c68f222d7f2f&gt;", line 4
    While int_num.isdigit()== True:
                ^
SyntaxError: invalid syntax
</code></pre>

<p>thanks.</p>
