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.
9, ['8275', 'b', '2599', 'f', 'C', '1405', '7965', 'T', 'J', '8065', 't', 'j', 'x', 'z', '6387', '3679', '3937', 'I', 'e', 'f', '4159', 'j', '4715']