You are viewing a single comment's thread. Return to all comments →
My ugly one liner
def findDigits(n): return sum([1 for num in list(map(int, str(n).replace("0", ""))) if n %num == 0])
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
My ugly one liner