Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Reduce solution in Clear category for Digits Multiplication by LLluma
# migrated from python 2.7
import operator
from functools import reduce
def checkio(number):
return reduce(operator.mul, [int(n) for n in str(number) if n != '0'])
#These "asserts" using only for self-checking and not necessary for auto-testing
April 22, 2014
Comments: