Skip to main content
๐Ÿ”’ 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 โ†’
โšก
โ† Coursesโ€บPython FoundationsModule 8 ยท Modern Python and capstoneโ€บ

CSV with DictReader / DictWriter

write166 / 174
+100 XP
Task
๐Ÿ“ **Question:** Use \`csv.DictReader\` on the in-memory CSV \`"name,age\\nAda,36\\n"\`. Print each row's name and age separated by a space.\nExpected: Ada 36 ๐Ÿ“‹ Pick the right answer. ๐Ÿ’ก **Hint:** Re-read the theory above if unsure.
โœ๏ธ Write your code here
๐Ÿ
Loading Python...
One-time download (~1 MB). Then it runs instantly.
๐Ÿ“Š Result
Press Run to see result...