Please help me out with this Python error - 'invalid syntax'
In your current line 

print regr.predict([2000])


This will not work. The first error is the lack of brackets around the contents of your print statement which is required in Python 3. Change this first to

print(regr.predict([2000]))


However, you will see that this does not work either. I suspect you are attempting to evaluate the price for a new $size = 2000$. You will need to reshape the input to your regression for this to work. 

new_size = np.array([2000]).reshape((-1, 1))
print(regr.predict(new_size))



  [ 317.78380528]