<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _assign(self, assignment):
 # type: (Assignment) -> None """ Adds an Assignment to _assignments and _positive or _negative. """

        self._assignments.append(assignment)
        self._register(assignment)