In this task, you are given inputs i and A, where i is an integer and A is a list. You need to list all the elements of A preceding the last i elements. i will always have a value less than the length of A.
7, ['5717', '9769', '9409', '1803', '5875', '9165', '1011', 'Z', '8813', '7315', '2445', 'T', '3253', '2455', 'V', 'q', '1453', 'x', '5195', 'X', 'v', 'n', 'b', '6229', 'Q', '9363', 'b', 'N']