HTMLify

LeetCode - Count the Digits That Divide a Number - Python
Views: 11 | 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)])))

Comments