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.
9, ['L', 'f', '6625', '7539', '9519', 'X', '453', 'V', 'c', '8443', 'j', 'U', '1167', '5783', 'o', 'G', '8743', '305', 'K', 'h', '3235', '1743', '2561', 'M', '5615', '3035']