Beginning Python

We have moved the string out of the parentheses and into a named variable, words. We then pass this variable to the function:

script.py
words = "Hello Matt"

print(words)

When we run our script we see that the output has not changed, as expected:

$
python script.py
Hello Matt