<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def register_user(self, user):
 """For new users, append their information into the dictionaries. Args: user (User):
 User. """

        self.users[user.index] = {'known_items': set()}
        self.n_user += 1