[docs] Python 3.1.2 Syntax Error

Éric Araujo merwok at netwok.org
Mon Oct 18 15:38:26 CEST 2010

Hello Timothy

In Python 3, print is a function, not a statement, so you have to put
parens to call it.  See http://docs.python.org/py3k/whatsnew/3.0

For all practical purposes, you can consider that Python 2 and Python 3
are different programming languages.  I guess your course uses Python 2.

Have fun learning Python!

More information about the docs mailing list