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.
12, ['1385', 'D', '5007', 'Q', '7255', '3205', 'u', '529', 'y', 'w', 'e', 'A', 'J', 'c', '3949', 'Q', '5495', 'K', 'T', 'b', 'b', '3927', '13', '2765', '2503', 'h', '2159', 'S', 'L']