We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1970668 commit 15942a2Copy full SHA for 15942a2
programmers/level1/수박수박수박수박수박수.js
@@ -0,0 +1,6 @@
1
+// 수박수박수박수박수박수? :12922
2
+// https://school.programmers.co.kr/learn/courses/30/lessons/12922
3
+
4
+function solution(n) {
5
+ return '수박'.repeat(n / 2) + (n % 2 ? '수' : '');
6
+}
0 commit comments