Why I can't use "print" statement without the parentheses in this exercise?


#1

I typed:

print "I got "+ str (point_total) +"points!"

It didn’t go though.
The solution was using “print()” statement.

In which cases we should use “print” and in which cases we should use “print()”? What is the difference?

The link to the exercise:

https://www.codecademy.com/courses/learn-python/lessons/python-syntax/exercises/full-review?action=resume_content_item


#2
print "some text"      =>  Python 2.x

print ("some text")    =>  Python 3.x

In the earlier version, print is a construct, while in the latter it is a function. All function calls require a parenthesized argument list or zero or more arguments.