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, ['5365', 'Z', 'v', '2801', '7245', '5045', '979', '5915', 'w', '9363', 'y', 'J', 'U', '6161', 'X', 'M', '6271', 'c', 'G', 'R', '3955', 'C', 'N', 'U', 'g', '2383', 'E', 'Q', '2771']