Teacher: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.
Teacher: Now, understand the problem? Solve this instance: 11, ['G', '6639', 'u', 'S', '7393', '8097', '5427', '5171', 'C', 'r', 'L', '5657', '8203', '4099', '9117', 'p', '5761', '1581', '6867', '6367', '4939', '9347', 'Z', 'w', '4687', '6523']
Student:
G, 6639, u, S, 7393, 8097, 5427, 5171, C, r, L, 5657, 8203, 4099, 9117