import math


def distance_math_hypot(ps, p1):
    """ Distance calculation using math.hypot """
    distances = []
    x1 = p1[0]
    y1 = p1[1]
    # for x0, y0 in ps:
    #     distance = math.hypot(x0 - x1, y0 - y1)
    #     distances.append(distance)
    # return distances
    return [math.hypot(x0 - x1, y0 - y1) for x0, y0 in ps]