The function that calls sum_arrays and takes two lists of the same length and returns a list where each element is the sum of the elements at that index in the original list is as follows:
def sum_arrays(list1, list2):
if len(list1)==len(list2):
return [sum(i) for i in zip(list1, list2)]
else:
return []
print(sum_arrays( [1, 3, 4, 6, 0], [4, 5, 6, 2, 10]))
The code is written in python.
learn more on function here:https://brainly.com/question/25589100?referrer=searchResults