Task: Pretty Print a JSON File in Python
Task: Pretty Print a JSON File in Python: a task in Terminal-Lego-15k (Harbor dataset). Your task is to write a Python script that reads a JSON file and outputs a formatted (pretty-printed) version of it. Pretty-printing JSON makes it more human-readable by adding proper indentation and line breaks.
The task
Your task is to write a Python script that reads a JSON file and outputs a formatted (pretty-printed) version of it. Pretty-printing JSON makes it more human-readable by adding proper indentation and line breaks.
Part of PrimeIntellect/Terminal-Lego-15k.