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, ['4253', 'K', '4431', '7985', '9123', 'U', '1277', '2175', '5901', '7943', 'I', 't', '5403', '7901', '7383', 'c', '695', '6923', '4879', 'r', '4643', 's', '333', 'q', 'e', 'u', '9263', '97', '3219']