-
수박수박수박수박수박수?프로그래밍/알고리즘 2021. 3. 25. 19:02
내가 푼 풀이
def solution(n): result = '' for i in range(n): if i % 2 == 0: result += '수' else: result += '박' return result
728x90반응형LIST'프로그래밍 > 알고리즘' 카테고리의 다른 글
폰켓몬 (0) 2021.03.25 내적 (0) 2021.03.25 문자열 내림차순으로 배치하기 (0) 2021.03.25 모의고사 (0) 2021.03.25 문자열 내 p와 y의 개수 (0) 2021.03.23