def setNext(self, newnext):. self.next = newnext. class UnorderedList: # constructor. def __init__(self):. self.head = None. # check if the list is empty.
確定! 回上一頁