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.
2, ['s', 'N', 'F', '9519', '7167', 'c', 'm', 't', 'D', 'E', '4371', 'h', 'c', '8029', 'L', 'Y', '9255', 'C', 'o', 'I', '4913', 'z', '1369', '7005', '3849', '6977', 'X', '7579']