concept parenthesis in category python

This is an excerpt from Manning's book Tiny Python Projects: Learn coding and testing with puzzles and games.
>>> word.upper <built-in method upper of str object at 0x10559e500>That will actually come in handy later, when we use functions like
map()andfilter(), but for now we want Python to execute thestr.upper()function on the variableword, so we add the parentheses. Note that the function returns an uppercase version of the word but does not change the value ofword:

This is an excerpt from Manning's book Get Programming: Learn to code with Python.
You’re trying to call the command with an object when the command doesn’t need anything in the parentheses. You’re trying to call the command with only one object when the command needs two in the parentheses.
In this lesson, my objective was to teach you about the subtleties of functions. These ideas only begin to scratch the surface of what you can do with functions. You created functions that had variables with the same name and saw that they didn’t interfere with each other because of function scopes. You learned that functions are Python objects and that they can be passed in as parameters to or returned by other functions. Here are the major takeaways: