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.
3, ['R', 'O', '9309', 'Y', 'V', 'Z', 'b', '7023', 'E', 'M', '7579', '5163', '4411', 'b', 'b', '8869', '3545', 'k', 'y', '2131', '4519', '4461', '3329', 'u', 'b', 'H']