promptdojo_

Cursor wrote a match statement that handles three commands but forgot the catch-all. When command = "shutdown" (which isn't in any case), the variable result never gets set, and line 11 crashes with a NameError.

Add a case _: block at the end so unmatched commands produce result = "unknown". The script should print unknown.

The break is on line 9 — but read the whole snippet first.

this step needs the editor

on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.

open this same url on a laptop to keep going today.