def remove(self, attendees):
if isinstance(attendees, (list, tuple)):<EOL><INDENT>attendees = {<EOL>attendee.address if isinstance(attendee, Attendee) else attendee<EOL>for<EOL>attendee in attendees}<EOL><DEDENT>elif isinstance(attendees, str):<EOL><INDENT>attendees = {attendees}<EOL><DEDENT>elif isinstance(attendees, Attendee):<EOL><INDENT>attendees = {attendees.address}<EOL><DEDENT>else:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>new_attendees = []<EOL>for attendee in self.__attendees:<EOL><INDENT>if attendee.address not in attendees:<EOL><INDENT>new_attendees.append(attendee)<EOL><DEDENT><DEDENT>self.__attendees = new_attendees<EOL>self._track_changes()<EOL>
Remove the provided attendees from the event

        :param attendees: list of attendees to add
        :type attendees: str or tuple(str, str) or Attendee or list[str] or
         list[tuple(str,str)] or list[Attendee]