<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_event(self, *names):
 """Registers new events after instance creation Args: *names (str):
 Name or names of the events to register """

        for name in names:
            if name in self.__events:
                continue
            self.__events[name] = Event(name)