Nested dicts and lists — digging through the JSON AI just dumped — step 8 of 9
Below is a payload that mimics a real API response. Write a function
all_emails(payload) that returns a list of every user's email
(one per user, in order). Then print each email on its own line.
Expected output:
[email protected]
[email protected]
⌘↵ runs the editor.read, then continue.
Below is a payload that mimics a real API response. Write a function
all_emails(payload) that returns a list of every user's email
(one per user, in order). Then print each email on its own line.
Expected output:
[email protected]
[email protected]
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.