Posted by Bojidar Yankov on 25-01-2022
python3 --version
:python3 --version
Python 3.8.10
Create a file called hello.py
and write the following:
# This is a comment, this line is not executed
# Using the "print" function to display the string of characters "Hello world!"
print("Hello world!")
Run the script using python3 hello.py
:
python3 hello.py
Hello world!