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, ['u', '7075', '8015', 'q', 'H', '6701', 'B', 'Z', 'g', '1977', '9207', '1669', '3113', 'f', '9561', '5645', 'c', 'D', 'T', 'G', '1493', '4819', '1433', '1697', 'M']