Course

Python Foundations

From zero to confident everyday Python, taught through real situations and the bugs they cause: values, collections, functions, the mutation model, errors, and files, all practiced by writing and running code in the browser.

A from-zero foundation in everyday Python for anyone heading into AI and agent engineering. It is not a syntax tour. Every concept is taught through a small, realistic situation, a billing total, a support ticket, a corrupted conversation transcript, and the bugs that situation creates in real code.

You begin by running your first line and finish able to write clear, correct Python with confidence: values and arithmetic, decisions and loops, the core collections, functions, the names-and-mutation model that prevents an entire class of state bugs, comprehensions, error handling, files and JSON, and small modules. You work in pure standard-library Python and practice in the browser, writing and running real code rather than only reading it.

By the end you can read and write the everyday Python that later work in data, machine learning, and agents takes for granted.

Curriculum

M1Your first Python6 topics
M2Decisions, None, and loops7 topics
M3Collections7 topics
M4Functions6 topics
M5How Python really works5 topics
M6Comprehensions and cleaner iteration5 topics
M7Errors, debugging, and checking your work6 topics
M8Files, JSON, and modules5 topics