def list_sets_for_entry(nsets):
    """

    Parameters
    ----------
    nsets:    List of integers, sets to select from

    Returns
    -------
    str1: sring variable, the list of sets (for a simple dialog)

    """
    str1 = '%d' % nsets[0]
    if len(nsets) > 1:
        for loop in range(1, len(nsets)):
            str1 = str1 + ', %d' % (nsets[loop])
    return str1