mirror of
https://github.com/github/codeql.git
synced 2026-01-07 19:50:22 +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) |