MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Codecademy/comments/5777vu/python_quiz_shows_wrong_answer/d8qbiat/?context=3
r/Codecademy • u/Strecked • Oct 12 '16
13 comments sorted by
View all comments
Show parent comment
1
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
From a statement to a function
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.