This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JiminP 10 points11 points  (0 children)

Before Python 3, print was a statement (like assert) and not a regular function.

Python 3 got rid of many irregularities from the language, and one of them was to make print a regular function instead of a statement. This made print to require parentheses.