diff --git "a/\354\236\254\352\267\200\355\225\250\354\210\230.py" "b/\354\236\254\352\267\200\355\225\250\354\210\230.py" new file mode 100644 index 0000000000000000000000000000000000000000..02b9bca295cbcaeb59618827639869cce2e86f20 --- /dev/null +++ "b/\354\236\254\352\267\200\355\225\250\354\210\230.py" @@ -0,0 +1,15 @@ +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)