# Enter a code
def average(*args):
sum = 0
if len(args)=0:
return sum
for item in args:
sum =sum+ item
avg = sum / len(args)
return avg
应该改为if len(args)==0: