<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def filter(self, p_todo_str, p_todo):
 """ Prepends the number to the todo string. """

        return "|{:>3}| {}".format(self.todolist.number(p_todo), p_todo_str)