I am trying to find total of all the integers in a tuple
from functools import reduce
marks = [("Jon" ,29 ), ("santi",35), ("anna",35)]
Total_marks = lambda x,y: x[1]
print(marks)
print (reduce(Total_marks,marks))
The above code can take the first value of integer, but i want to find the sum of all the integers, how to do it using reduce in python