Beakjoon&프로그래머스/파이썬
[백준/파이썬]23037번 5의 수난
현장
2021. 11. 6. 14:53
-코드
num = input()
r = 0
for i in num:
r += int(i) ** 5
print(r)