Aug 31, 2018 · 1 min read
Good stuff, I use functools and itertools all over the place. For your reduce example, note that you can use the operator module, eg:
functools.reduce(operator.mul, integers)Good stuff, I use functools and itertools all over the place. For your reduce example, note that you can use the operator module, eg:
functools.reduce(operator.mul, integers)Written by