Moved 1 to 5 to Python and learned a ton.

This commit is contained in:
2019-07-13 23:58:38 -04:00
parent 414cf4b074
commit b246d56acd
13 changed files with 402 additions and 2 deletions

9
python/e003.py Normal file
View File

@@ -0,0 +1,9 @@
from lib_prime import prime_factors
def euler_003():
return prime_factors(600851475143)[-1]
assert(euler_003() == 6857)
print("e003.py: {}".format(euler_003()))