← Code LabPython0/50 solved · 0%
Tooling · medium

35. Parsing CSV text

Read tabular data safely.

Write `parse_balances(text)` that parses CSV text with header `address,balance` and returns a list of dicts with `balance` converted to `float`.
Required in your answer: csv.DictReaderfloat(