promptdojo_
Checkpoint

One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.

Last drill — the JSON pattern AI uses on every config file.

  1. Import json.
  2. Write a dict {"app": "promptdojo", "users": 1} to /tmp/config.json using json.dump(data, f) inside a with block.
  3. Read it back with json.load(f).
  4. Print the value of the "app" key.

Expected output:

promptdojo

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.