본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬]2902번 KMP는 왜 KMP일까?

by 현장 2021. 5. 6.

-코드

c = input().split('-')
for i in c:
    print(i[0], end='')