Sample programs
Teacher guide
Sample programs
Teacher modeOne page per moduleBoth tracks
👩🏫
Teacher mode is on: the sample programs in this section are yours only. Flip the switch (bottom-right) to preview what students see.
This section holds complete, working programs for every module, for checking student work and for getting a robot running when you need one in a hurry. The programs are shown only in teacher mode. Students: the robot.py templates are the files for you.
| Module | What's on its page |
|---|---|
| Module 1 · Learning to Drive | One short program per Python lesson (1-8 to 1-11), and two sample final projects |
| Module 2 · Line Tracking | robot.py at the end of the module, both tracks |
| Module 3 · Grid Driving | robot.py at the end of the module, both tracks |
| Module 4 · Manhattan Navigation | robot.py at the end of the module, both tracks |
| Module 5 · Pathfinding Around Obstacles | robot.py at the end of the module, both tracks, and the Lesson 5-2 demonstration |
| Module 6 · Dijkstra's Algorithm (optional) | robot.py at the end of the module, both tracks |