PythonBeginnerabout 6 hours15 lessons
Recommended first: Turbo Garage
Pip the robot sorts the pebbles the tide leaves behind: skippers, rollers and sparklers. First you write a rule by hand and watch it fail. Then you teach Pip the other way, by example: labelled pebbles, a way to measure how alike two pebbles are, neighbours that vote, a score for how often Pip is right, and a fair exam on pebbles it never studied. You catch Pip memorising, spot a lopsided scoop of data and fix it, read a table of its mistakes, and finish by joining learn, test and guess into one small pipeline. Plain Python only: no packages, no hard maths.
Each lesson adds one working part to your build.
Chapter 1
Write a rule by hand, watch it fail, then let examples do the teaching.
Chapter 2
Copy the nearest example, then let a few neighbours vote.
Chapter 3
Hide some pebbles, mark Pip fairly, and catch it memorising.
Chapter 4
Catch a lopsided sample, read your mistakes, and join it all together.