euler/e010.py

6 lines
116 B
Python
Raw Normal View History

from e007 import primes;
print 'Fetching all primes for n < 2,000,000'
p = primes(0, 2000000)
print 'Sum:', sum(p)