<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def py(self, output):
 """Output data as a nicely-formatted python data structure"""

        import pprint
        pprint.pprint(output, stream=self.outfile)