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.
10, ['F', '4611', '9157', '2191', 'o', '1059', '2587', '5901', 'M', '947', '441', 'W', 'v', 'n', '2075', '2145', 'Q', '593', 'c', '1757', '7659', '1179', 'g', '6053', 'T', 'p']