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.
12, ['f', 'x', '621', 'A', 'p', 't', '6109', '5169', '4109', '6777', '8287', 'p', '9225', '6175', '4887', 'm', 'I', 'm', 'b', '2483', '2367', 'e', '2897', 'A', 'p', '199', '3067', '5535']