# -*- coding:utf-8 -*- from functools import reduce def prod(L): def cf(x,y): return x*y return reduce(cf,L)
Sign in to make a reply
Gussun