The print() function - the keyword arguments
We've said previously that the print() function separates its outputted arguments with spaces. This behaviour can be changed, too.
The keyword argument that can do this is named sep (like separator)
Look at the code in the editor and run it.
The sep argument delivers the following results:
My-name-is-Monty-Python.
The print() function now uses a dash, instead of a space, to separate the outputted arguments.
Note: the sep argument's value may be an empty string, too. Try it for yourself.
The print() function - the keyword arguments
Both keyword arguments may be mixed in one invocation, just like here in the editor window.
The example doesn't make much sense, but it visibly presents the interactions between end and sep.
Can you predict the output?
Run the code and see if it matches your predictions.
Now that you understand the print() function, you're ready to consider how to store and process data in Python.
Without print() , you wouldn't be able to see any results.