📅  最后修改于: 2022-03-11 14:46:49.379000             🧑  作者: Mango
def average2(*args):
listofvalues = []
for item in args:
listofvalues.append(item)
return sum(listofvalues) / len(listofvalues)