def jaccard_similarity(list1, list2):
    """Jaccard score between two lists.

    Parameters
    ----------
    list1
    list2

    Returns
    -------
    float
        Jaccard similarity between elements in list.

    """
    s1 = set(list1)
    s2 = set(list2)
    return len(s1.intersection(s2)) / len(s1.union(s2))
