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, ['T', '979', 'E', 'A', 'k', 'l', '5425', 'N', 'D', 'l', 'j', '2373', '4357', 'v', '1309', '6521', '5609', 'c', 'O', 'Q', 'u', '1203']