def product(*c): if len(c) == 0: raise TypeError('bad operand type') else: s = 1 for x in c: s = s*x print(s) return s
Sign in to make a reply
蓝堂家的蓝堂堂