def dist(a, b):
    return sqrt(sum((x1 - x2) ** 2 for x1, x2 in zip(a, b)))
Returns the Euclidean distance between points `a` and `b`.
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/shortest_paths/tests/test_astar.py/dist