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.
6, ['v', '3823', 'F', 'e', 'J', '3755', 'W', '5069', 'I', 'i', '4723', 'v', '2635', '4489', 'S', '3429', 'X', 'M', 'V', 'p', 'W', 't', '307', '9063', '6955', '5919', 'G', 'g', 'D']