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, ['O', '6493', '4399', '1921', 'J', 'G', '5285', '9507', 'K', 'T', 'b', 'F', '3773', '9777', '5623', 'v', 'M', '7801', '6521', '3031', '6569', 'f', 'b', '7597', 'e', '9645', 'p', '4399', '9793']