How to use the values of a list that is inside another list as arguments of a function in Python
===

I am very new to Python. I have a function, called DISTANCE(lat1,long1,lat2,long2) that calculates the distance between 2 points.
Then I have a list, called POINTS where each value is another list, which has those 4 values inside.
I would like to obtain the sum of the results of the function DISTANCE for all the values inside POINTS.
Can anoybody help me with that?
Thanks!