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

[백준/파이썬] 23080번스키테일 암호

by 현장 2023. 2. 21.

-Code

n = int(input())
s = input()
res = ""
for i in range(0, len(s), n):
    res += s[i]
print(res)