문제 링크
정답 :
def solution(num_str): return sum([int(num) for num in num_str])