[Python] 프로그래머스 - Level1 - 하샤드 수

강주형·2022년 8월 14일
0

하샤드 수

연습문제

def solution(x):
    return True if x % sum(map(int, list(str(x)))) == 0 else False
profile
Statistics & Data Science

0개의 댓글