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.
8, ['2639', 't', 'u', '2611', '5071', '6641', '6617', 'X', '3405', '8943', '9303', '8847', 'L', 'D', 'c', '9541', '7331', 'E', '999', 'A', 'q', 'u', 'L', '9119', '1561', '5879', 'y', 'V', '3971', 'p']