Discuss / Python / 交作业

交作业

Topic source

左岸静

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

def mul(x, *y):

    result = x

    if len(y) >0 :

        for i in y:

            result = result * i

    return result


  • 1

Reply