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.
10, ['6725', '7089', '2051', 'p', 'm', '155', '2343', 'x', '9865', 'o', 'f', '2169', '4015', '5305', '935', '9471', '2013', '3833', '3745', '4439', 'V', 'a', 'r', '3569', '445']