I have the following integral (I don’t know why the screenshot went so low so you need to scroll a bit).

I tried the following code:

```
from scipy import pi, sqrt
from scipy.integrate import dblquad
func = lambda x,y: ((1-sqrt(x**2+y**2))/(sqrt(x**2+y**2)))*(x**2)
x1,x2 = -1, 1
y1,y2 = lambda x: -sqrt(1-x**2), lambda x: sqrt(1-x**2)
print dblquad(func, x1, x2, y1, y2)
```

But I keep getting a syntax error in the last line. Did I import anything incorrectly?

Source: Python Questions