What is wrong with my python program?
<p>I'm learning to code in python using Project Euler. I've written the following program, which I think should work:</p>

<pre><code>a=1
b=1
c=1

while(a&lt;=998):
while(b&lt;=998):
    c=(1000-(a+b)

    if (a*a+b*b==c*c):
        print a,b,c
    b=b+1
a=a+1
</code></pre>

<p>However, when I actually run the program from the terminal, the interpreter says that line 9</p>

<pre><code>if (a*a+b*b==c*c):
</code></pre>

<p>is invalid. Can anyone tell me why this is?</p>

<p>thanks </p>
