def get_segment_length(segment):
    """
    Find the length of a line segment
    :param segment: A pair of points that represent a line segment
    :return: The length of segment
    """
    return (
        ((segment[0].y - segment[1].y) ** 2) + ((segment[0].x - segment[1].x) ** 2)
    ) ** 0.5