Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Digits Multiplication by andriutwich
# migrated from python 2.7
from functools import reduce
checkio = lambda number: reduce(lambda res, x: res*x, [int(num) for num in str(number) if int(num)], 1)
print(checkio(123405) == 120)
print(checkio(999) == 729)
print(checkio(1000) == 1)
print(checkio(1111) == 1)
Jan. 13, 2017