modules, imports, and why your venv hates you8 / 9
aliases, multi-imports, and the `np.` you'll see everywhere
Write the imports and code so:
jsonis imported normally (no alias)dumpsandloadsare pulled out ofjsondirectly (from json import ...)- The script encodes the dict
{"city": "boston"}to a JSON string withdumps, then decodes it back to a dict withloads, and prints the decoded city.
Expected output:
boston
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _