1. 문제
https://programmers.co.kr/learn/courses/30/lessons/12947
2. 풀이
def solution(x):
return True if x % sum([int(each) for each in str(x) ]) == 0 else False
https://programmers.co.kr/learn/courses/30/lessons/12947
def solution(x):
return True if x % sum([int(each) for each in str(x) ]) == 0 else False