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.
8, ['c', 'F', '6673', '3417', '4837', '2505', '9191', '7963', 'e', 'R', '1643', 'c', 'K', '6193', 'F', '5625', '2419', '8781', 'w', '3579', '5457', 'o', '8087', 'n', '8101', '7447']