写函数,接收n个数字,求这些参数数字的和 1 def sum_func(*args): 2 total=0 3 for i in args: 4 return total 5 print(sum_func(1,2,3,8,23,6)) View Code