Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Digits Multiplication by Dominik_Witczak
def checkio(number):
answer = 1
for digit in str(number) : # treat number as a string, this way i will be able to iterate through each digit
if int(digit) != 0 :
answer *= int(digit)
return answer
Oct. 21, 2017