Surfalytics
Just Enough Python labs

Lab 2 of 2 Members

Lab 2: From a messy CSV to a JSON report

Read a CSV export with a broken row, skip the bad data, total the rest, and save the result as a JSON report, using only Python's built-in csv and json modules.

This lab is for members

Write and run real Python right in your browser, with tasks that check themselves. Members unlock every lab, lesson, and module, plus the private community.

7-day free trial · Cancel any time