반응형
https://www.acmicpc.net/problem/10809
# @Author YoungMinKim
# baekjoon
x=input()
string = []
for i in range(97,123):
string.append(chr(i))
for j in range(len(x)):
for i in range(len(string)):
if x[j] == string[i]:
string[i] = j
for v in range(len(string)):
if type(string[v]) == str:
string[v] = -1
for k in string:
print(k,end=' ')
반응형
'백준 문제풀이' 카테고리의 다른 글
baekjoon - python - 10818 (0) | 2020.09.02 |
---|---|
baekjoon - python - 10817 (0) | 2020.09.02 |
baekjoon - python - 10757 (0) | 2020.09.02 |
baekjoon - python - 10718 (0) | 2020.09.02 |
baekjoon - python - 10699 (0) | 2020.09.02 |
댓글