In this task, you are given inputs i,j, and A, where i and j are integers and A is a list. You need to list all elements of A from the ith element to the jth element. i and j will be non-negative, and will always have a value less than the length of A. i will always be less than j.
1, 25, ['M', '7331', 'f', '2531', 'J', 'H', 'M', '153', 'I', '4163', '8231', '4893', '531', 'D', 'S', 'b', '9585', '7089', 'X', 'p', '917', '8055', '8831', 'y', '9277']