On 15/02/2013 22:31, Joel Goldstick wrote:

Sorry, you said above python 3.  In python 3 raw_input was changed to
input.  so change that and it will work for you.
There are some differences between 2 and 3 that you will need to look
out for.  Go to the python.org <http://python.org> site to learn about
them.  Your book was written for python 2 it seems


In Python 3 the syntax error is caused by print not having brackets, not the as it happens the incorrect call to raw_input.

--
Cheers.

Mark Lawrence

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to