promptdojo_

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]

full-screen editor opens — close anytime to keep reading.