Moved 20 to 26 to Python.

This commit is contained in:
2019-07-15 22:11:49 -04:00
parent 0ab214633e
commit f76b36c8d3
10 changed files with 194 additions and 174 deletions

View File

@@ -1,7 +1,11 @@
from lib_misc import factorial
def euler_020():
return 0
f_100 = factorial(100)
return sum(map(int, str(f_100)))
if __name__ == "__main__":
assert(euler_020() == 1074)
assert(euler_020() == 648)
print("e020.py: {}".format(euler_020()))