We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7001ef1 commit b18014fCopy full SHA for b18014f
5/4.py
@@ -0,0 +1,8 @@
1
+def recursive_function(i):
2
+ # 100번째 출력을 했을 때 종료되도록 종료 조건 명시
3
+ if i == 100:
4
+ return
5
+ print('재귀 함수를 호출합니다.')
6
+ recursive_function(i + 1)
7
+
8
+recursive_function(0)
0 commit comments