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.
8, ['2137', 'z', '8865', 'F', '313', 's', '7399', 't', '8805', 'A', '7273', '5281', '443', '809', 'W', 'J', '4925', '7343', '4421', 'k', '515', '8775', '6505', 'X', 'S', 'T', 'H', 'K', '4001']