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.
1, ['6505', 'j', '8957', 'A', '6937', 'Q', '507', 'W', '7343', 'X', '1753', 'd', 'q', 'w', '6739', '5331', '4523', '7181']