<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def PrintIndented(self, file, ident, code):
 """Takes an array, add indentation to each entry and prints it."""

        for entry in code:
            print >>file, '%s%s' % (ident, entry)