Understand what Python is, why it matters, and get your first program running in the editor.
Python is a high-level, general-purpose programming language created by Guido van Rossum in 1991. It's designed to be readable and expressive — Python code often reads almost like plain English.
It's used everywhere: web backends (Instagram, Pinterest), data science (pandas, numpy), AI/ML (TensorFlow, PyTorch), automation scripts, APIs, and more.
Every programmer's first program is printing "Hello, World!" — it's tradition. In Python, it's just one line:
print("Hello, World!")
The print() function outputs text to the console. The text "Hello, World!" is a string — text wrapped in quotes.
Python uses print() to show output. Everything inside the parentheses gets displayed. You can print numbers, text, variables — almost anything.
Comments start with # and are ignored by Python. Use them to explain your code:
# This is a comment — Python ignores it print("This line runs") # inline comment