1
2
3
4
5
|
s=list(input().split('-'))
answer=''
for i in s:
answer+=i[0]
print(answer)
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
백준 11944 NN (0) | 2022.01.19 |
---|---|
백준 2857 FBI (0) | 2022.01.19 |
백준 4597 패리티 (0) | 2022.01.19 |
백준 3183 Dates (0) | 2022.01.19 |
백준 2948 2009년 (0) | 2022.01.19 |
댓글