문제
def solution(n): answer = ('수박'*((n+1)//2))[:n] return answer #print(solution(7))
+++ 처음엔 itertools combinations 사용하려고 했으나 코드가 너무 길어져서 순열을 사용했다.