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.
7, ['G', 'K', '6011', 'o', 'i', 'R', 'T', 'A', 'j', '2693', '8863', 'G', '8239', '2267', 'f', '3913', '6329', '7411', '8585', 'B', '5561', '1953', 'D', '5003', 'b', 's', 'h', '9895', 'u']