🧪 Coding lab

Get the robot to the star — with code!

This is Novin Zehn's coding lab: write a few simple Python-like commands, press Run, and watch the 3D robot do exactly what you said. Solving the levels teaches core programming ideas such as sequencing, loops and debugging.

main.py
Write your code and press Run. Shortcut: Ctrl + Enter
📘 Commands
  • forward(3) — move 3 tiles forward
  • back(1) — move 1 tile back
  • turn_left() / turn_right() — turn 90°
  • repeat(4): — repeat the indented lines 4 times
  • light("red") — lamp color: red, green, blue, yellow, purple
  • say("hi") — the robot speaks
  • # ... — comment (not executed)

Take coding further

This lab is just the beginning. In Novin Zehn's courses, kids and teens learn Python step by step and build and program real robots.