No results found
Try a different search term.
Python Basics
10- Python: What It Is, Where It Came From, and Why Developers Keep Choosing It→
- Python Syntax and Indentation: The Rules That Make Python Read Like English→
- Python Variables and Data Types: A Practical Guide Beyond the Basics→
- Dynamic Typing and Strong Typing in Python: What They Mean in Practice→
- Python Comments and Docstrings: Writing Code That Explains Itself→
- Taking User Input in Python: input(), Type Conversion, and Validation→
- Python print(): Output Formatting, sep, end, and File Parameters Explained→
- Python Operators Explained: Arithmetic, Comparison, Logical, and the Tricky Ones→
- Type Conversion in Python: Implicit, Explicit, and the Pitfalls Between Them→
- Python Escape Characters and Raw Strings: When Backslashes Get Complicated→
Data Structures
10- Python Strings: Everything You Need to Know About Text Handling→
- Python Lists: Methods, Mutability, and the Patterns You'll Use Every Day→
- Python Tuples: When Immutability Is the Right Choice→
- Python Dictionaries: Key-Value Pairs, Methods, and Real-World Patterns→
- Python Sets: Fast Membership Testing, Deduplication, and Set Operations→
- List Comprehensions and Generator Expressions: Python's Most Readable Shortcut→
- Python Dictionary Comprehensions: Build Dicts in One Line Without Sacrificing Clarity→
- Python Set Comprehensions: Creating Unique Collections the Concise Way→
- Python String Formatting: f-strings, format(), and When Each One Wins→
- Python Indexing and Slicing: Accessing Sequences the Pythonic Way→
Control Flow & Loops
7- Python if, elif, else: Conditional Logic That's Readable at Any Complexity Level→
- Python for Loops: Iterating Lists, Ranges, and Everything Else→
- Python while Loops: Condition-Driven Repetition and Infinite Loop Safety→
- Python Nested Loops: When to Use Them and When to Refactor Them Away→
- break, continue, and pass in Python: Loop Control That Changes Execution Flow→
- Python Iterators and Iterables: What's Really Happening Inside a for Loop→
- Iterating Lists, Dictionaries, and Sets in Python: Patterns for Every Collection→
Functions & Scope
12- Custom Exceptions→
- Exception Handling→
- Multiple Exception Handling→
- Raising Exceptions→
- finally and else→
- Defining and Calling Functions (`def`)→
- Function Arguments (`*args`, `**kwargs`)→
- Default Arguments and Keyword Arguments→
- Lambda Functions→
- Global and Local Scope→
- Function Return Values→
- Recursion in Python→
Object-Oriented Programming
12- Object-Oriented Programming→
- Classes and Objects→
- the `__init__()` Constructor→
- Instance Variables and Methods→
- Class Variables and `@classmethod`→
- Encapsulation and Data Hiding→
- Inheritance and Subclasses→
- Method Overriding and super()→
- Polymorphism→
- Magic Methods and Operator Overloading→
- Static Methods→
- Abstract Classes and Interfaces→
Programs
18- Find the Median of an Array in Python: Sorted Approach and QuickSelect→
- Find the Middle Element of a Python List: Index Math and Edge Cases→
- Find Duplicates in a Python Array: Hash Set, Sorting, and Floyd Algorithm→
- Find All Subsets of an Array in Python: Backtracking and Bit Manipulation→
- Find the Missing Number in 1 to N: The Math Trick That Makes It O(n)→
- The Gap and Island Problem in Python: Finding Consecutive Sequences in Data→
- Stock Buy and Sell for Maximum Profit in Python: O(n) Single Pass→
- Reverse Words in a String in Python: Simple, Edge-Case-Safe Solutions→
- Remove Duplicates from a List in Python: Five Approaches and When to Use Each→
- Coin Change Problem in Python: Dynamic Programming That Actually Makes Sense→
- Fibonacci Series in Python: Iterative, Recursive, and Generator Approaches→
- Find All Pairs That Sum to a Target: Two Pointer and Hash Set Approaches→
- Find the Smallest and Largest Number in a Python List Without Built-ins→
- Iterating Python Collections: Lists, Dicts, Sets, Tuples, and Generator Objects→
- List Comprehensions in Python: Clean Syntax, Real Performance, Practical Limits→
- Calculate Pi in Python Without math.pi: Three Algorithms Compared→
- String Formatting in Python: A Working Guide to f-strings and Their Alternatives→
- AES-256 Encryption in Python: PyCryptodome, Fernet, and Choosing the Right Tool→