Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ sol1.py
File
sol1.py
project_euler/problem_20/sol1.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Finding the factorial.
2
def
factorial(n):
3
fact = 1
4
for
i in range(1,n+1):
Callers
nothing calls this directly
Calls
2
split_and_add
Function · 0.85
factorial
Function · 0.70
Tested by
no test coverage detected