delete codeup category and update README.md and complete 2467.py and 27433.py and create new run.py and init_make.py for better testcases management
This commit is contained in:
10
zeta_python/completed/27433.py
Normal file
10
zeta_python/completed/27433.py
Normal file
@@ -0,0 +1,10 @@
|
||||
def factorial(n):
|
||||
if n <= 0:
|
||||
return 1
|
||||
else:
|
||||
return n * factorial(n - 1)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
N: int = int(input())
|
||||
print(factorial(N))
|
||||
Reference in New Issue
Block a user