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, ['o', '4885', '9859', 'v', '1509', '2573', 'E', '5153', '9993', '8163', 'J', '9409', '6777', 'A', '2657', '9879', 'c', 'I', '867', '8197', '1149', '4927', 'e', 'e', 'T', 'l']