I need an index of the element with the max sum inside of it, but what I done is only found the maximun inside the tuple in a listm instead of fining the index. Could you please help.
def max_sum_index(tuples):
# YOUR CODE HERE
maxi = 0
# traversal in the lists
for x in tuples:
sum = 0
# traversal in tuples in list
for y in x:
sum+= y
maxi = max(sum, maxi)
return maxi
print(max_sum_index([(10, 20), (40, 32), (30, 25)]))
#72