Python basics
Values, names, and the raw materials of every program.
Lessons
- Variables & data types — A variable is a name that points at a value, and Python infers the type for you.
- Operators & expressions — Operators combine values into expressions — the maths and comparisons behind every decision.
- Strings — Text is everywhere in real code. f-strings are the cleanest way to build it from values.
- Fix the code — Spotting and fixing small bugs is half of real programming. Four snippets, four mistakes.
- Basics check — A checkpoint on types, operators and strings before you face the boss.
- Basics boss — A four-part gauntlet combining every basics skill. Clear it to open "Control flow & functions".