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.
--------
Question: 1, ['W', '3125']

Answer: W


Question: 5, ['a', 'U', '1091', '6791', '5761', '5235', 'q', 'f', 's', '2023', 'u', 'N', 'H', 'D', '479', 'q']

Answer: a, U, 1091, 6791, 5761, 5235, q, f, s, 2023, u


Question: 4, ['Z', 'w', 'k', '8375', 't', '765', '8403', 'R']

Answer:
Z, w, k, 8375