Moved more problems to Python.

This commit is contained in:
2019-07-14 23:58:22 -04:00
parent 86e68eeee2
commit 0ab214633e
14 changed files with 476 additions and 0 deletions

9
python/e014.py Normal file
View File

@@ -0,0 +1,9 @@
from lib_misc import collatz_sequence_length
def euler_014():
return max([(collatz_sequence_length(n), n) for n in range(1, 1000000)])[1]
assert(euler_014() == 837799)
print("e014.py: {}".format(euler_014()))