[Tutor] New User-Need-Help

Mark Lawrence breamoreboy at yahoo.co.uk
Sat Feb 16 00:28:23 CET 2013


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



More information about the Tutor mailing list