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 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.
Input: 8, 10, ['n', 'j', '1739', '9339', '4163', '4317', 'z', '1827', '7019', 'G', '6391', '6091', '4373', 'z', 'A', 'N', '3719', '2897', 'T', '3751', 'd', '1229', '9061', '3117', '6505', '2121', '7583', '1193']

8846