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.
3, ['9089', 'z', 'g', 'd', 'c', '4093', 'L', 'H', '2417', '9875', 'G', 'B', '8629', '2899', 'h', '6933', '4933', 'p', 'f', 'I', 'a', '2061', 'J', '3601']