We are going to make our first python program: our hello world using a python function called 'print' that shows in the execution console the text that is passed to it as an input parameter:

print("Hello word!")

Save this code in a file with a py extension, for example, with the name helloword.py.

And run it by calling python, in this example python3:

python3 helloword.py

Obtaining the following result:

developer@feitampythontutorial:~$ python3 helloword.py
Hello word!
developer@feitampythontutorial:~$

Certified with python 3.8.10 on Ubuntu 20.04.6 LTS