HTMLify
LeetCode - Count the Digits That Divide a Number - Python
Views: 168 | Author: abh
class Solution:
def countDigits(self, num: int) -> int:
return len(list(filter(lambda n:not num%n,[int(n)for n in str(num)])))