def nearest(point, neighbors):
    best = None
    for other in neighbors:
        d = dsquared(point, other)
        if best is None or d < best[1]:
            best = (other, d)
    return best[0]
Find the nearest neighbor point to a given point.
dataset/ETHPy150Open hhatto/autopep8/test/vectors_example.py/nearest