<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def print_row(self, row, rstrip=True):
 """ Format and print the pre-rendered data to the output device. """

        line = ''.join(map(str, row))
        print(line.rstrip() if rstrip else line, file=self.table.file)