BOJ - 18245 - 이상한 나라의 암호 Updated: August 21, 2020 def solution(): idx = 2 while True: word = str(input()) if word == "Was it a cat I saw?": break print(word[::idx]) idx += 1 solution() https://www.acmicpc.net/problem/18245 Share on Twitter Facebook LinkedIn Previous Next Leave a comment
Leave a comment