728x90
SMALL
numList = [i for i in range(1,10001)]
resultList = []
for i in range(1,10001):
for j in str(i):
i+=int(j)
resultList.append(i)
selfnumList = list(set(numList) - set(resultList))
selfnumList.sort()
for i in selfnumList:
print(i)
728x90
LIST
'취준시절 > 백준' 카테고리의 다른 글
[백준 2941] 크로아티아 알파벳 - Python (0) | 2021.08.04 |
---|---|
[백준 1316] 그룹 단어 체커 - Python (0) | 2021.08.04 |
[백준 1715] 카드 정렬하기 - Python (0) | 2021.08.01 |
[백준 11286] 절댓값 힙 - Python (0) | 2021.08.01 |
[백준 1927] 최소 힙 - Python (0) | 2021.08.01 |