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

17. JSON encode/decode

Serialize and parse structured data.

Write `roundtrip(data)` that uses `json.dumps` then `json.loads` and returns the resulting object (should equal the input).
Required in your answer: json.dumpsjson.loads