<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove(self, list):
 """ Removes a list from the site. """

        xml = SP.DeleteList(SP.listName(list.id))
        self.opener.post_soap(LIST_WEBSERVICE, xml,
                              soapaction='http://schemas.microsoft.com/sharepoint/soap/DeleteList')
        self.all_lists.remove(list)