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.
9, ['9537', '1201', 'u', 'X', 'h', 'y', '5361', 'k', '6929', '8225', 'T', '7733', 'Q', 'c', '3157', '3291', '3333', '8147', '6571', 'l', 'j', '3817']