Language/Python
[Python / 프로그래머스 level 1] 자릿수 더하기
ej503
2021. 6. 23. 20:19
def solution(n):
s = list(map(int,str(n)))
s = sum(s)
return s