하샤드 수

210717

'''
https://programmers.co.kr/learn/courses/30/lessons/12947
하샤드 수
[풀이]
1. list화 하여 sum
'''
def solution(x):
    return not x % sum(list(map(int, str(x))))
'''
'''

Last updated

Was this helpful?