Nested dicts and lists — digging through the JSON AI just dumped — step 9 of 9
Checkpoint
One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.
Final drill. The report dict below holds a list of orders, each with a
list of line items. Compute the total dollar value across all items
in all orders, and print it.
Expected output:
47
⌘↵ runs the editor.read, then continue.
Checkpoint
One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.
Final drill. The report dict below holds a list of orders, each with a
list of line items. Compute the total dollar value across all items
in all orders, and print it.
Expected output:
47
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.