HF RL Explorer

Task: Pretty JSON Formatting in Python

Task: Pretty JSON Formatting in Python: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that demonstrates how to format JSON data in a "pretty" (human-readable) way using Python's json module. The script should take a compact JSON structure and output it in a nicely formatted…

The task

Create a Python script that demonstrates how to format JSON data in a "pretty" (human-readable) way using Python's `json` module. The script should take a compact JSON structure and output it in a nicely formatted, indented format that would be suitable for display in a Jupyter/IPython notebook or terminal.

Part of PrimeIntellect/Terminal-Lego-15k.