MCPcopy 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

1from math import factorial
2def main():
3 print(sum([int(x) for x in str(factorial(100))]))
4if __name__ == '__main__':
5 main()

Callers 1

sol2.pyFile · 0.70

Calls 1

factorialFunction · 0.70

Tested by

no test coverage detected