Your problem does not exist in your code, but possibly in your interpreter.
The interpreter is the system that runs your code (interprets it) and decides how to make sense of the functions you write into it.
However, there is a big change between Python Interpreter 2.7.x and Python 3.x, where the syntax for print used to be
`print "here is your text"`
And now it is
`print("here is your text")`
The reasons for this are a tad ambiguous, but in short print has become a function. These are a very simple concept and are very important to master. But hopefully my explanation has helped you understand.
Also, when other people here talk about comments, multi-line comments, and docstrings, all you need to know is that comments work for one line, multi-line comments or block comments work for many lines, and docstrings are for proper developers, and is a standard way to document your code to make it easier for others to understand and work on.
At this phase you shouldn't worry about it when someone talks about docstrings.