• + 2 comments
    def findDigits(n):
        # Write your code here
        s =str(n)
        l=[]
        count=0
        for i in s:
            if int(i)!=0:
                l.append(int(i))
        
        for j in l:
            if  n%j==0:
                count+=1
        return count