[프로그래머스][Python] 자릿수 더하기 def solution(n): sum=0 for i in str(n): sum = sum + int(i) return sum Share on Twitter Facebook LinkedIn Previous Next