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.
1, ['p', '9339', '7049', '9053', '3439', 'b', 'G', '9131', '5511', '2467', 'w', '6271', 'Z', 'q', '5161', '5619', 'h', '9225', 'a', 'T', '1933', '8495', '6765', '4987', '7511', 'K', 'w', '8897', 's']