mirror of
https://github.com/github/codeql.git
synced 2025-12-26 05:36:32 +01:00
5 lines
82 B
Python
5 lines
82 B
Python
|
|
def factorial(n):
|
|
if n <= 0:
|
|
return 1
|
|
return n * factorial(n - 1) |