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.
11, ['h', '2433', '4821', 'v', '8049', '6253', 'H', 'J', 'p', '2453', 'A', '9721', '9265', 'P', '83', '2195', 'A', '5305', '717', '6407', 'd', '1663', 'H', '4021', 'A', 's', '1383']