def mul(*a):
if a==():
q=print('except TypeError')
else:
q=1
for z in a:
q=z*q
return q
Sign in to make a reply
Wynne
def mul(*a):
if a==():
q=print('except TypeError')
else:
q=1
for z in a:
q=z*q
return q