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.
5, ['1701', 'v', '3703', 'V', 'o', '633', '8369', '2829', 'd', '4445', 'r', '7577', 'f', 'K', 'X', 't', '1133', 'V', '8501', '7495', '2793', 'w', '3953']