euler/e010.py
Correl Roush 8249e88efc Problem 010
git-svn-id: file:///srv/svn/euler@32 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:11 +00:00

5 lines
116 B
Python

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