1 a = [1, 2, 3] 2 b = [4, 5, 6] 3 4 5 def sum_super(* args): 6 s = 0 7 for i in args: 8 s += sum(i) 9 return s 10 11 12 # print(sum_super(a, b))
创建sum求多元素的和
原文:https://www.cnblogs.com/tttzqf/p/9270443.html