Discuss / Python / 交作业

交作业

Topic source

-一世欢颜

#1 Created at ... [Delete] [Delete and Lock User]

def product(x, y=1,*z):

    if z!=None:

       for i in z:

           y=y*i

    return x * y


  • 1

Reply