🔒 Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.Start 7-day trial →
Implement `flatten(d, prefix="")` and `json_to_csv(records)`. Run on 2 records and print the CSV.
Expected (CSV uses CRLF line endings per RFC 4180):
name,user.email,user.id
Ada,ada@x.com,1
Bob,bob@y.com,2
✏️ Write your code here
🐍
Loading Python...
One-time download (~1 MB). Then it runs instantly.