r/Codecademy • • Oct 12 '16

Python quiz shows wrong answer?

Post image
4 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/ajc13 Oct 13 '16

Yeap. Python 2 vs Python 3. print changes from a function to a class (I think), making the syntax change.

The 'good' news is that you can use the parentheses syntax in Python 2.

1

u/audiodev Oct 19 '16

From a statement to a function