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, ['l', '7419', '5627', 'N', 'E', '7779', '3085', 'q', '2805', '2315', 'v', 'O', 'v', '3617', '9773', '9559', 'V', 'C', 'p', '6659', '2091', 'y', 's', 'd', '7307', '3203', 'J', 'Y']