10 lines
161 B
Python
10 lines
161 B
Python
|
from lib_prime import primes
|
||
|
|
||
|
|
||
|
def euler_010():
|
||
|
return sum(primes(2 * 10**6))
|
||
|
|
||
|
|
||
|
assert(euler_010() == 142913828922)
|
||
|
print("e010.py: {}".format(euler_010()))
|