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.
6, ['z', 'b', '8497', '6121', '9275', '4845', '5997', 'e', '6367', 'T', 'M', '9745', '9819', '6639', '4795', '8241', '201', '5243', '8767', '8575', 'X', '4943', 'o', '2889', 'D', '7249']