Python's Built-in Collection Functions
Learn Python's built-in functions that work across all collection types: len(), min(), max(), sum(), sorted(), reversed(), zip(), and enumerate().
Learn Python programming from scratch
Learn Python's built-in functions that work across all collection types: len(), min(), max(), sum(), sorted(), reversed(), zip(), and enumerate().
Learn how to decide between lists, tuples, sets, and dictionaries. A practical decision guide based on ordering, mutability, uniqueness, and lookup needs.
Understand shallow vs deep copy across all Python collections. Learn when slicing and the copy method are enough, and when you need the deepcopy function.
A quick-reference guide to the most-used methods across Python lists, tuples, sets, and dictionaries. Learn which methods each type shares and which are unique.
Learn practical techniques to make Python collections faster and more memory-efficient. Choose the right type, use comprehensions, and know when to reach for the collections module.
Avoid the most frequent Python collection mistakes: aliasing instead of copying, modifying while iterating, using the wrong type for lookups, and shared inner lists.
See Python collections in action with real-world examples: counting words, grouping data, removing duplicates, building lookup tables, and processing JSON.
Learn what Python operators are, the seven categories they fall into, and how each group helps you write calculations, comparisons, assignments, and logic.
Learn every Python arithmetic operator, including addition, subtraction, multiplication, division, floor division, modulo, and exponentiation, with clear examples for each one.
Learn how Python assignment operators work, from basic assignment to compound operators that combine calculation and storage in one concise step.
Learn all Python comparison operators including equality, inequality, ordering, and how to chain multiple comparisons together for clean, readable condition checks.
Learn how Python logical operators and, or, and not work, how short-circuit evaluation saves computation, and how truthy and falsy values control program flow.