Stats
40,843
reputation
2k
reached
5
answers
1
question
Loading…
About
def prime_sieve(limit):
prime = [True] * limit
prime[0] = prime[1] = False
for i, is_prime in enumerate(prime):
if is_prime:
yield i
for n in range(i * i, limit, i):
prime[n] = False
Badges
View all badges
This user doesn’t have any gold badges yet.
7
silver badges
-
Yearling
× 7Feb 23
12
bronze badges
-
CustodianSep 26, 2016
-
CommentatorApr 2, 2019
-
TeacherOct 30, 2017
Top tags
View all tags
40
Score
6
Posts
100
Posts %
10
Score
1
Posts
17
Posts %
10
Score
1
Posts
17
Posts %
9
Score
1
Posts
17
Posts %
9
Score
1
Posts
17
Posts %
3
Score
1
Posts
17
Posts %