在此插入代码
from functools import reduce def prod(L): def fn(a,b): return a * b return reduce(fn,L) print(prod([3,5,7,9]))
Sign in to make a reply
许大超同学
from functools import reduce def prod(L): def fn(a,b): return a * b return reduce(fn,L) print(prod([3,5,7,9]))
30天后我要做出一个像样的网站来,然后FLASK再去找工作,明年就毕业了。