def format_list(list1, fmt = '%16s', delimiter = ","):
    """
    format list of numbers to string.
    delimiter defaults = ',' 
    """
    string1 = delimiter.join(fmt % h for h in list1) + '\n'
    return string1