반응형
temp = [i for i in range(1,10001)]
for i in range(1,10000):
result = 0
result +=i
for j in str(i):
result+=int(j)
if result in temp:
temp.remove(result)
for num in temp:
print(num)
반응형
'Algorithm > Baekjoon' 카테고리의 다른 글
10250 (0) | 2021.05.06 |
---|---|
2869 (0) | 2021.05.05 |
1193 (0) | 2021.05.05 |
2292 (0) | 2021.05.05 |
1712 (0) | 2021.05.05 |