프로그래밍 언어/파이썬
백준 > 11720 숫자의 합
B612
2024. 2. 19. 16:13
a = int(input())
b = input()
arr = list(b)
arr = list(map(int, arr))
print(sum(arr))