def write_list_to_txt(path_result, list_out):
    """Write scenario population for a year to txt file
    """
    file = open(path_result, 'w')
    for entry in list_out:
        file.write(entry + '\n')
