Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ main
Function
main
project_euler/problem_20/sol2.py:2–3 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
from
math
import
factorial
2
def
main():
3
print(sum([int(x)
for
x in str(factorial(100))]))
4
if
__name__ ==
'__main__'
:
5
main()
Callers
1
sol2.py
File · 0.70
Calls
1
factorial
Function · 0.70
Tested by
no test coverage detected