Python/project_euler/problem_20/sol2.py
2018-10-19 17:14:25 -05:00

5 lines
124 B
Python

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