You are viewing a single comment's thread. Return to all comments →
Python 3
def findDigits(n): count = 0 temp = n while temp > 0: rem = temp % 10 if rem != 0 and n % rem == 0: count += 1 temp //= 10 return count
Seems like cookies are disabled on this browser, please enable them to open this website
Find Digits
You are viewing a single comment's thread. Return to all comments →
Python 3