Python is a beginner-friendly programming language used to build websites, automation tools, AI applications, and more. Let's learn it step by step.
1. What is Python?
- Created by: Guido van Rossum.
- First released: 1991.
- File extension:
.py - Example:
hello.py
2. How to run Python on Linux Mint
Open Terminal with Ctrl + Alt + T.
Check whether Python is installed:
python3 --version
Create a Python file:
nano hello.py
Write this code in the file:
print("Hello, World!")
Save with Ctrl + O, press Enter, and exit with Ctrl + X.
Run your file:
python3 hello.py
Top comments (0)