<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def append(self, context, data):
 """Returns new context, which contains current stack and new frame """

        return ContextStack(self._contexts + [context], self._data + [data])