Write a function list_lengths_ok_after_iter_i(arglist, i, evens, odds) that will be called by the assert at the end of each iteration of the loop shown above. The purpose of this function is to check that, at the end of the ith iteration, the lengths of the two lists evens and odds are the right values. Your function list_lengths_ok_after_iter_i(arglist, i, evens, odds) should behave as follows. Given:def odds_and_evens(arglist): evens = [] odds = [] for i in range(len(arglist)): ith_element = arglist[i] if i % 2 == 0: evens.append(ith_element) else: odds.append(ith_element) assert list_lengths_ok_after_iter_i(arglist, i, evens, odds) return (evens,odds)