def sorensen(s1,s2) -> float:
    """
    Sorensen similarity.

    Parameters
    ----------
    s1 : first set.
    s2 : second set.

    Returns
    -------
    similarity coefficient (0<=x<=1).
    """
    return 2*len(s1&s2)/(len(s1)+len(s2))