instruction:
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 return the sum of all the numerical elements in the list A between the positions i and j (including positions i and j). Return 0 if no numerical element is present in the list between the given ranges. 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.
question:
10, 11, ['J', '5319', '1625', 'z', '275', 'B', '6901', 'b', 'X', '8669', '2307', '3117', 'K']
answer:
10976


question:
8, 9, ['3587', '5903', 'B', '9671', 's', 'A', '7259', '6961', '2601', '9719']
answer:
9562


question:
3, 10, ['l', 'e', '6769', '4983', 'l', 'X', 'p', '5725', 'W', 'g', 'B', '3119']
answer:

17477