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.
10, ['b', '7157', '3333', '273', '2715', 'L', 'p', 'H', 'u', 'd', '4119', '503', '6529', 'h', '7937', 'A', 'c', 'B', '4101', 'J', '63', 'H', '8797', '8745', 'q', 'u', 'Z', '3271', '7389', 'O']