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.
2, ['7225', 'a', 'H', 'A', '7025', 'v', 'A', 'I', 'U', 'v', '8295', '7153', '8245', '3383', 'f', 'W', '2399', 'c', '751', 'E', '6247', 'x', 'v', 'a', '9681', '2379']