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.
Q: 2, ['2613', '9093', 'p', '6477', '6251', 'x', 'P', 'Z', '6017', '6365', 'p', '3755', 'o', 'g', '1067', '8433', 'b', '9071', '7017', 'A', 'f', '2303', 'r', '2397', '4969']
A:
2613, 9093, p, 6477, 6251, x, P, Z, 6017, 6365, p, 3755, o, g, 1067, 8433, b, 9071, 7017, A, f, 2303, r