Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second: functools reduce solution in Clear category for Digits Multiplication by leggewie
from functools import reduce
#import functools
# This really calls for reduce from functools
def checkio(number: int) -> int:
n = str(number).replace("0", "")
return int(reduce(lambda x,y: int(x) * int(y), n))
June 3, 2021
Comments: