mirror of
https://github.com/github/codeql.git
synced 2026-01-03 09:40:17 +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) |