list1 = [['hello',3],['bye',4].....]
I need to find just the sum of the numbers, 3 + 4 = 7 in this case, for an undefined number of item in the list all structured like this
I don't know how to call a spisific element from the sublists from every sublist for a sum command. I have tryed the following but what do I put in the first brackets? Or is there a better way to write this?
sum(list1[][1])
Thanks!!