定义一个求和函数:计算所有传入参数的和
def func3(*d): total_num = 0 for i in d: total_num = total_num + iprint(total_num)
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。