Python Basics — Overview#
Foundation for FAANG-style Python interviews: types, operators, control flow, collections, strings, functions, errors, environment, and OOP intro.
Recommended order
Read in nav order top-to-bottom, or: Language Fundamentals → Operators → Control Flow → Data Structures.
At a glance
| Track | Python Basics |
| Pages | 10 |
| Goal | Interview-ready language fundamentals |
Section map#
| # | Page | You will learn |
|---|---|---|
| 1 | Python Language Fundamentals | Objects, names, mutability, truthiness |
| 2 | Operators | Division, bitwise, precedence, in/is |
| 3 | Control Flow | Loops, match, comprehensions |
| 4 | Data Structures | list, dict, set, tuple + complexity |
| 5 | Strings | Slicing, join/split, formatting |
| 6 | Functions and Code Reuse | Parameters, scope, recursion |
| 7 | Basic Error Handling | try/except, EAFP |
| 8 | The Python Environment | venv, pip, pytest |
| 9 | Introdicion to OOPs | Classes, inheritance intro |
| 10 | Basic Built-in Functions and Libraries | Counter, heapq, bisect |
Prerequisites#
- Python 3.10+ installed (Environment)
- No prior Python required
What's next#
| Track | Page |
|---|---|
| Python track home | Python Overview |
| Intermediate | Intermediate Syntax and Structures |
| DSA | Programming |