Discuss / Python / 第二题

第二题

Topic source

Ryan_CL

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

L=[1,2,3,4,5] def prod(L): def chengji(x,y): return(x*y) return reduce(chengji,L) print(prod(L))


  • 1

Reply