Hello world is a classic example of figuring out a way to make sure that you can produce a result with the tool you're using.
Configuration - Debian 11 Python files can be identified by their file extension, which is .py.
Debian comes with Python3 pre-installed so you can get straight to business.
sudo apt-get update sudo apt-get install -y micro micro hello.py
print("Hello world!")
That's the simplest way to do a helloworld in Python. To verify the result you should execute your program.
kallet@confmansys:~$ python3 hello.py Hello world!
Happy coding!
Your comment may be published.
Name:
Email:
Message: