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.
11, ['q', '6439', 'W', 'T', '4475', 'C', '8883', 'q', '7253', 'O', 'T', 'm', 'V', '9869', '4939', '3369', 'k', '9561', 'Q', '593', '5353', 'U', '7931', 'T']