在大家的提示下完成
Topic sourcedef product(x, y=1,*arg):
s = x*y
if len(arg) == 0:
pass
else:
for n in arg:
s *= n
return s
- 1
def product(x, y=1,*arg):
s = x*y
if len(arg) == 0:
pass
else:
for n in arg:
s *= n
return s
Gino_wang