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.
3, ['23', 'E', '6433', 'Q', '6983', 'R', '5821', '7003', '9805', 'l', 'e', '1197', '7951', '2697', 'U', '8925', '843', '7619', '1015', '8791', 'Q', 'p', 'Q', '7713', '9023', 'Z', '9279', '2465', 'o']