Print the shortest path
def printPath ( path ) : NEW_LINE INDENT n = len ( path ) NEW_LINE for i in range ( n - 1 ) : NEW_LINE INDENT print ( path [ i ] , end = " ▁ - > ▁ " ) NEW_LINE DEDENT print ( path [ n - 1 ] ) NEW_LINE DEDENT