def product(*nums): if(len(nums)==0): raise TypeError('ags need one more args') s=1 for n in nums: s*=n return s
Sign in to make a reply
苍狼猎艳1016