Discuss / Python / 作业

作业

Topic source

枫澜-ye

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

只能手动星号了~~~~

def product(星号x): calc = 1 if len(x)==0: return 0 for i in x: calc *= i return calc


  • 1

Reply