def list_to_str(id_list):
    """
    Convert list of IDs (ints) to comma separated string

    :param id_list: list of ints
    :return: list as comma separated string
    """
    string = ''
    for item in id_list:
        string += str(item) + ','
    return string.rstrip(',')