On 2011.06.27 02:05 AM, Amaninder Singh wrote:
> Hi,
> I am fairly new to python, I am trying to write simple code and It is
> giving me syntax error. I am reading a book and following the
> directions as it says in the book but I am not sure why it is not
> working.
Looks like the book you're reading is outdated and refers to Python 2.
In Python 3, print is a function:
print('Hello there')
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to