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: 5, ['6757', '1851', 'm', '1265', 'A', '1739', '4791', 'b', 'B', '9329', 'B', '207', '1021', '1481', '6899', 'C', 'y', 'w', '8809', '2689', 'c', 'H', '4565', 'x', 'Y', '6103', 'p', '3995']
Student:
6757, 1851, m, 1265, A, 1739, 4791, b, B, 9329, B, 207, 1021, 1481, 6899, C, y, w, 8809, 2689, c, H, 4565