728x90
반응형
단순 문자열 & 구현 문제이다.
s = input()
li = ['E', 'I', 'S', 'N', 'T', 'F', 'J', 'P']
for c in s:
li.remove(c)
res = ''.join(li)
print(res)
728x90
반응형
'Agorithm > 백준 알고리즘' 카테고리의 다른 글
백준 알고리즘 16395번 파스칼의 삼각형(python) (0) | 2021.03.17 |
---|---|
백준 알고리즘 6080번 Bad Grass(python) (0) | 2021.03.17 |
백준 알고리즘 6189번 Munching(python) (0) | 2021.03.17 |
백준 알고리즘 18422번 Emacs(python) (0) | 2021.03.17 |
백준 알고리즘 13746번 Islands(python) (0) | 2021.03.17 |