Define a Python function named matches that hastwo parameters. Both parameters will be lists of ints. Both listswill have the same length. Your function should use theaccumulator pattern to return a newly created list. Foreach index, check if the lists' entries at that index areequivalent. If the entries are equivalent, append the literal Trueto your accumulator. Otherwise, append the literal False to youraccumulator.
Hint: Since you must use the same index with each list,only write one loop in your function. The loop should usethe built-in range function as its collection, since thatwill assign our loop variable to each index and, in the loop body,we can use the loop variable to get each input's entry at thatindex.