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.
8, ['3267', 'w', 'n', 'H', '2725', 'E', '1939', 'w', '4541', '6909', '3531', 'D', 'W', '1553', 'R', 'v', 'k', '1545', 'M', '5395', 'y', 'c', 'Z', 'i', 'h', 'C', 'f', 'N']