Task: Send Python pprint Output to a Log File
Task: Send Python pprint Output to a Log File: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that uses the pprint (pretty print) module to format a complex data structure and write the formatted output to a log file instead of printing to the console.
The task
You need to write a Python script that uses the `pprint` (pretty print) module to format a complex data structure and write the formatted output to a log file instead of printing to the console.
Part of PrimeIntellect/Terminal-Lego-15k.