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, ['r', 'w', '9665', 'u', 'V', '4191', '817', 'V', '1667', 'r', '6009', 'c', '2517', 't', '8769', 'R', '1303', '8825', '7185', 'N', 'I', 'V', '6019', '7893']