def distance_from(self, p2):
    ' Returns the distance this Point is from the given Point. '
    dx_squared = ((self.x - p2.x) ** 2)
    dy_squared = ((self.y - p2.y) ** 2)
    return math.sqrt((dx_squared + dy_squared))
Returns the distance this Point is from the given Point.
def distance_from(self, p2):
    '  '
    dx_squared = ((self.x - p2.x) ** 2)
    dy_squared = ((self.y - p2.y) ** 2)
    return math.sqrt((dx_squared + dy_squared))