示例#1
0
def testListFunctions():
	sampleLs = [2,1,2,3,2,-1,2]
	print listFunctions.cumulativeSum(sampleLs)
	print listFunctions.cumulativeSumZero(sampleLs)
示例#2
0
def getPitches(intervals):
    return cumulativeSumZero(intervals)