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, ['f', 'u', 'D', 'H', '3761', 'K', '4979', 'Q', 'z', '9793', '3515', '8157', '729', 'v', 'D', '1967', '6727', '6801', 'p', 'I', 'v', 'H', 'Z', 'f', 'N', '1135']