Skip to main content
← CoursesPython FoundationsМодуль 9 · Бонус: міні-проєктиMINI: JSON → CSV converter (flatten nested dicts)mission170 / 170
💬 Discuss🧪 Playground+200 XP
Task
Implement `flatten(d, prefix="")` and `json_to_csv(records)`. Run on 2 records and print the CSV. Expected: name,user.email,user.id Ada,ada@x.com,1 Bob,bob@y.com,2

Keep going

✏️ Write your code here
🐍
Loading Python...
First visit only — ~5-10s. Stays cached afterward.
📊 Result
Press Run to see result...
📣 Help someone learn PythonShare this lesson with a friend — the first 15 are free, no signup.Tweet

💬 Discussion

Be the first to ask a question or share a tip.
Sign in to join the discussion. Reading is free.
Loading discussion…