3 more problems

This commit is contained in:
MitchellHansen
2017-02-17 23:49:48 -08:00
parent 3d42c5a27b
commit 10b76d0ca6
4 changed files with 88 additions and 0 deletions

13
problem_20.py Normal file
View File

@@ -0,0 +1,13 @@
import math
value = math.factorial(100)
string = str(value)
sum = 0
for i in string:
sum += int(i)
print(sum)