Topic
beginner
4 articles
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 f
File I/O and Exception Handling in Python
๐ The Config File That Took Down a Friday Deployment Picture this: it's 5 PM on a Friday. A developer pushes a new service to production. The deployment succeeds, but five minutes later the service i
Python Data Structures: Lists, Dicts, Sets, and Tuples
TLDR: Python's four built-in collections are not interchangeable โ their internals are fundamentally different. list is a dynamic array: fast at the end, slow for membership. dict is a hash table: O(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

