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.
12, ['g', 'v', '801', '2367', '5237', 'E', '5517', '6425', '9091', 'A', 'h', 'h', '8377', '345', 'j', 'I', 'u', 'h', 'q', 'A', '7265', '5293', 'i', 'S', '2549', '1027', 'F', 'j', 'D', 't']