I am trying to make a method which will remove item from list, but when I am trying to choose which one I want remove I get error
(TypeError: rent() takes 1 positional argument but 2 were given)``` 
account.rent(2)
When I leave it with no id account.rent(), then method removes 2 first items from list.
Method:
def rent(self):
        if(self.logged==True):
            for id in lib.bib.BookList:
                lib.bib.BookList.remove(id)
        else:
            print("No Access")
List:
library.BookList.insert(0,"Book n1")
library.BookList.insert(1,"Book n2")
library.BookList.insert(2,"Book n3")
account.rent() and list is in main.py, def rent(self) in account.py.
I don't know where I declared removing 2 arguments.
 
     
     
    