Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1-liner Accumulate + operator solution in Creative category for Digits Multiplication by swagg010164
from itertools import accumulate
import operator
def checkio(number: int) -> int:
return list(accumulate([int(k) for k in str(number) if k != '0'], operator.mul))[-1]
Nov. 8, 2019
Comments: