Definition: 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 concatenate all elements of A from the ith element to the jth element, and print the resultant string. 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.
Input: 4, 13, ['701', 'V', '3231', 'y', 'j', '6745', '9505', 'h', 'P', 'r', '6535', '5327', '4053', '5731', '9313', '1877', 'r', '1347', 'h', 's', 'k', '4227', 'E', 'e', '8341', 'F', '7613', 'd', '7701']
Output:
yj67459505hPr653553274053