Variables, strings and numbers — the pieces every Python program is built from.
| Lesson | Covers | |
|---|---|---|
| 01 | Variables and naming | Data types, naming rules, your first variable |
| 02 | Strings and string methods | Text, methods, chaining |
| 03 | F-strings and whitespace | Formatting, escapes, stripping |
| 04 | Numbers and maths | Operators, floats, constants |
| 05 | Comments | Writing notes, and the week put together |
Each lesson has a matching .py file. Read the markdown, then run the code and change it.
python build-01.pyPrevious: Introduction · Next: Week 2
Previous: Introduction · Next: Week 2
Week 1 lab — five tasks using everything above.