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, ['a', '6997', '1193', 'K', '5135', '7605', 'X', '2443', '3043', '9129', 'u', '3677', 'e', '9557', 'j', 't', 'j', 'd', '9935', 'w', '9419', 'U', 'Y', 'N', 'V', 'W', '3741', '8425']