Skip to content
Snippets Groups Projects
Commit 6d990329 authored by KimTaeeun's avatar KimTaeeun
Browse files

Upload New File

parent bf3986f9
No related branches found
No related tags found
No related merge requests found
def some_func(count):
if(count>1):
some_func(count-1)
print(count)
some_func(100)
def factorial(n):
if n == 0:
return 1
elif n > 0:
return factorial(n-1)*n
f = factorial(100)
print(f)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment