Problem9
This commit is contained in:
parent
640578455e
commit
25e9167e85
7
src/problem9.py
Normal file
7
src/problem9.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import sys
|
||||||
|
sys.path.append("lib")
|
||||||
|
from num_fns import sieve
|
||||||
|
|
||||||
|
primes = [p for p in sieve(10000000) if p < 2000000]
|
||||||
|
|
||||||
|
print(sum(primes))
|
Loading…
Reference in New Issue
Block a user