def __init__(self): ''' Initializes an empty stack with no nodes. Inherited Attributes: - head - _length ''' LinkedList.__init__(self)
def __init__(self): ''' Initializes an empty deque with no items Inherited Attributes: - head - _length ''' LinkedList.__init__(self)