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, ['5973', 'K', '3085', '5633', '9903', 'f', '9003', '7255', 'H', 'r', 'n', 'L', '9537', '2765', '167', '6339', '6739', '5601', 'F', 'b', 'n', 't', 'T', '4349']