diff --git a/src/problem9.py b/src/problem9.py new file mode 100644 index 0000000..5a1430c --- /dev/null +++ b/src/problem9.py @@ -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))