search.py
def path(self):
        '''
        Used to get the path from the initial node to the current node
        '''
        actions = []
        actions.append(self.action)
        parent = self.parent
        while(parent != None):
            actions.append(parent.action)
            parent = parent.parent
        actions = actions[::-1]
        return actions[1:]

        Used to get the path from the initial node to the current node
        
Used to get the path from the initial node to the current node
Used to get the path from the initial node to the current node
def path(self):
        actions = []
        actions.append(self.action)
        parent = self.parent
        while(parent != None):
            actions.append(parent.action)
            parent = parent.parent
        actions = actions[::-1]
        return actions[1:]
def path ( self ) : actions = [ ] actions . append ( self . action ) parent = self . parent while ( parent != None ) : actions . append ( parent . action ) parent = parent . parent actions = actions [ : : - 1 ] return actions [ 1 : ]
Used to get the path from the initial node to the current node
Used to get the path from the initial node to the current node
'''
        Used to get the path from the initial node to the current node
        '''
self