結果 : sum of list in python using function