We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 744803a commit b6b7784Copy full SHA for b6b7784
Project Euler/Problem 20/sol2.py
@@ -0,0 +1,5 @@
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()
0 commit comments