July 25, 2021
def solution(x): return True if x % int(sum(list(map(int, list(str(x)))))) == 0 else False
def Harshad(n): return n % sum([int(c) for c in str(n)]) == 0
GitHubVelogFacebook