SMALL 자릿수 더하기1 [SW Expert Academy] 자릿수 더하기 *문제의 저작권은 SW Expert에 있습니다. 문제 링크 : https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5QPRjqA10DFAUq&categoryId=AV5QPRjqA10DFAUq&categoryType=CODE T = int(input()) T1 = int(T/1000) T2 = int((T%1000)/100) T3 = int((T%100)/10) T4 = int(T%10) result = T1+T2+T3+T4 print(result) 2021. 1. 20. 이전 1 다음