def distance(point1, point2):
    """
    Distance between two points

    :param tuple point1: first point coordinates (1, 2)
    :param tuple point2: second point coordinates (3.0, 4)
    :return: line segment length
    :rtype: float

    >>> distance((0, 0) (3, 4.0))
    5.0
    """
    x1, y1 = point1
    x2, y2 = point2
    
    return ((x1-x2)**2+(y1-y2)**2)**(1/2)