<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_result(self, code, message=None):
 """ add a result to the internal result list arguments: same arguments as for Result() """

        self._results.append(Result(code, message))