Category
beginner
4 articles across 4 sub-topics
Functions(1)
Functions in Python: Parameters, Return Values, and Scope
TLDR: Python functions are first-class objects, not just reusable blocks. They support keyword arguments, safe defaults with None, variadic *args/**kwargs, closures, and LEGB scope resolution. These five ideas are not advanced features — they are the...
•23 min read
Control Flow(1)
Python Basics: Variables, Types, and Control Flow
TLDR: Python variables are labels that point at objects — not typed boxes. The type lives with the object, not the variable. Master truthiness, f-strings, for/while loops, and the handful of pitfalls that trip up every developer coming from Java or J...
•20 min read
