☰
Partner With Us
Python Learning Notes
Python Learning Notes
Short, student-friendly notes for Python foundations, coding habits, debugging practice, and project readiness.
Channel Archive
Latest articles in this channel.
Browse the newest resources first, then open any article for the full explanation and practice notes.
What Is a Dry Run? Trace an Algorithm with a State Table
Use a small input and a trace table to locate the first state that differs from what the algorithm should produce.
Why Should You Write Brute Force First? Define the Complete Search Space
Define every candidate, estimate the full search space, build a correct baseline, and only then add pruning or memoization.
What Does Big O Mean? Think About Growth Before Memorizing a Table
Understand O(1), O(N), and O(N²) by counting how work grows, then compare that growth with the input constraints.
CCC Grid Problems: From Simulation to Graph Search
Recognize three generations of grid problems: cell-by-cell simulation, structural counting, and graph search with DFS or BFS.
What Problems Are Python Sets Best At Solving?
Learn when to use a set for deduplication, fast membership checks, and set operations, and when a list or dict is the better tool.
What Is a Dry Run? Trace Your Code Before Running It
Trace code with small inputs and variable tables to catch boundary, initialization, and update-order mistakes.
Why Does Greedy Sorting Always Work? The Exchange Argument with Time on Task
Use CCC 2013 Time on Task to understand shortest-first greedy selection and prove it with an exchange argument.
How Do You Build and Traverse a 2D List?
Learn how to build, index, read, and traverse Python 2D lists while avoiding shared-row aliasing mistakes.
The Infinite Loop Beginners Write Most Often
Learn why while loops run forever and how to make their stopping conditions reachable.
How Do You Choose Between for and while in Python?
Choose the Python loop that best matches known items, fixed counts, or changing stop conditions.
What Is the Difference Between append() and + in Python Lists?
A beginner-friendly Python note on append(), +, extend(), nested lists, and combining list values.
Understand Python String Slicing in One Minute
A beginner-friendly Python note on word[1:4], include start, exclude stop, and slicing boundaries.
What Is the Difference Between = and == in Python?
A beginner-friendly Python note on assignment, equality comparison, and writing correct if conditions.
Variables Are Not Boxes; They Are More Like Labels
A beginner-friendly Python note on understanding variables as names that point to objects.
print() Is More Than Hello World
A beginner-friendly Python note on using sep and end to control output formatting.
Python Readability: Why Clear Code Beats Clever Code
Use The Zen of Python, clear variable names, and small steps to write code that people can understand.
Do Not Memorize Python Syntax First
Use small problems, examples, and modifications to learn Python syntax as a tool for solving problems.
Python Syntax Basics: Print, Variables, and Types
A beginner-friendly Python note on print(), comments, variable naming, basic types, and converting input before doing math.
Using Codex to Support Python JamHack Competition Preparation
How students can use Codex as a planning, debugging, and review partner while keeping their own thinking at the center.
Why Learn Python? Start with Readability, Not Syntax
A short Python Learning Note based on Phase I materials: why Python is a good first language, and why beginners should start with readability rather than memorizing syntax.
Return to the full Resources hub.
Explore CP Weekly Challenges, Python Learning Notes, and AI Literacy Articles from one place.