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.
11, ['b', '1545', '8571', 'c', '5061', 'D', '7345', 'Z', 'X', '7433', '217', 'P', 'n', '7869', 'e', 'I', '7413', '363', '5693', '9145', '4981', '1949', '6843', '8239', 'i', 'w', 'L', 'n', 'O', 'F']