promptdojo_

Write the imports and code so:

  1. json is imported normally (no alias)
  2. dumps and loads are pulled out of json directly (from json import ...)
  3. The script encodes the dict {"city": "boston"} to a JSON string with dumps, then decodes it back to a dict with loads, and prints the decoded city.

Expected output:

boston

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.