Add the parenthesis, like this:
Example of probably for the older python 2, which didn't use parenthesis for print.
Reasons are that in python 2.x print is a keyword, whereas in python >3 it's a function.
For beginners, that is the biggest difference between versions 2 and 3 (the next is raw_input. For python 3 use input instead). So you can probably keep going with the examples, just remember to add the parenthesis for print. Once you start printing arguments, put them inside parenthesis like this:
# The old python 2 way:
print "arg1", "arg2"
# The new python 3 way:
If you want to know more about the Data Science then do check out the following Data Science which will help you in understanding Data Science from scratch