Пример #1
0
def solve():
    return primes().drop(10000).next()
Пример #2
0
def solve():
    return primes()                                                            \
        .takewhile(lambda prime: prime < 2000000)                              \
    .sum()