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.
11, ['d', '617', '6595', 'n', 'v', '9253', 'H', 'D', '5835', 'a', 'K', '8545', '2807', '8149', '5941', 'L', '5387', 't', 'p', '7765', '6147', '1697', 'T', '1387', '6345', 'b', '8825']