<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_strings_on_files_between_markers(filenames: list, strings: list, marker: str):
 r"""Write the table of contents on multiple files. :parameter filenames: the files that needs to be read or modified. :parameter strings: the strings that will be written on the file. Each string is associated with one file. :parameter marker: a marker that will identify the start and the end of the string. :type filenames: list :type string: list :type marker: str :returns: None :rtype: None :raises: an fpyutils exception or a built-in exception. """

    assert len(filenames) == len(strings)
    if len(filenames) > 0:
        for f in filenames:
            assert isinstance(f, str)
    if len(strings) > 0:
        for s in strings:
            assert isinstance(s, str)

    file_id = 0
    for f in filenames:
        write_string_on_file_between_markers(f, strings[file_id], marker)
        file_id += 1