You are viewing a single comment's thread. Return to all comments →
Python
return len([1 for i in str(n) if int(i) if not n% int(i)])
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
return len([1 for i in str(n) if int(i) if not n% int(i)])