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, ['V', '9471', 'A', '2201', '249', 'x', 'l', '3851', 'z', '8299', '4469', '7039', 'k', 'G', 'm', '8681', '3513', 'w', 'z', '7489', 'l', '6697', 'Z', '5119']