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.
6, ['Z', 'j', 'u', '2169', '679', '7339', 'F', '1875', '1315', 'v', '4445', 'j', 'T', '313', 'I', 't', '801', 's', '7959', '9937', '6753', 'p', 'v']