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.
13, ['W', '8951', 'e', 'v', 'h', 'r', 'H', 'Y', 'L', 'F', '2255', 'J', 'Y', '1723', 'm', 'B', '9315', '7293', 'X', 'Z', '2917', 'F', '9735', '3187', '9109', 'l']