def output_lines(self):
        """Return a sequence of lines, suitable for printing or comparing
        answers.
        """
        if self.exception:
            return [self.EXCEPTION_HEADERS[0], '  ...'] + self.exception_detail
        else:
            return self.output
def output_lines ( self ) : if self . exception : return [ self . EXCEPTION_HEADERS [ 0 ] , '  ...' ] + self . exception_detail else : return self . output
Return a sequence of lines, suitable for printing or comparing
        answers.