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, ['v', 'q', 'H', '513', 'u', '3931', 'z', '8399', 'H', '5143', 'F', '5993', '3311', 'p', 'T', '2073', '3771', '9953', '1875', '835', 't', '1681', 'k', '4501', 'p', '571', '2473', 'Z', 'Q', 'M']