Your book is for Python 2. In Python 3, print
is no longer a statement and instead is a function. So it needs parenthesis.
You should either install Python 2 or buy a book for Python 3. Python 3 is newer, but Python 2 is more supported, and it's ok to stick with it for now. You can read here
for more about the trade offs.
Due to the reasons discussed here
we will be moving to python-forum.io
on October 1, 2016.
This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.