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: 10, ['5079', '5683', '9239', '5901', '6993', 'p', 'K', '9093', 'c', 'e', '2355', 'y', 'K', 'i', '4725', '9869', 'J', 'M', 'q', '1245', '5007', '2641', 'j', 'h', 'F', '383']
Student:
5079, 5683, 9239, 5901, 6993, p, K, 9093, c, e, 2355, y, K, i, 4725, 9869