What is Python?
Programming means writing precise instructions for a computer to follow. Python is a programming language created in 1991 by Guido van Rossum. People like it because it reads almost like English, and it's used everywhere: artificial intelligence, data, websites, automation, cybersecurity…
To use it on your computer, you install Python from python.org, then write code in an editor such as VS Code. A .py program is run with the command python my_file.py. Here you don't need to install anything: Python runs right in your browser. A line starting with # is a comment: Python ignores it.
import sys
print("Python version:", sys.version_info.major, sys.version_info.minor)
print("Hello from Python!")
# This line is a comment: Python ignores it