I currently have this list:
['5 4 7', '4 3 1', '6 8 4'', '4 8 6']
Note that not all numbers are separated by commas.
I would like to be able to calculate the total for each section of the list. For example, the first calculation should be 5+4+7 to give me 16. I would just like to know how to convert this list to be able to do maths calculations with the numbers.