Notes / Python / Introduction

Introduction to Python — Revision Notes

A quick-reference cheat sheet: definition, syntax, example, common mistakes and an interview tip.

beginner 📖 2 min revision

Definition

📌 Introduction Python, created by Guido van Rossum and first released in 1991, is known for clean, readable syntax that reads almost like English.

Syntax

syntax
# comments start with #
print("your code here")

Example

py
print("Hello, World!")

Output

outputHello, World!

Important Points

Common Mistakes

Interview Tip

🎯 Before your interview "Is Python compiled or interpreted?" — Python source is technically compiled to bytecode internally, but is commonly described as an interpreted language since there's no separate manual compile step.
Back to notes Read full lesson →