Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.
27,610
reputation
5
44
99

Graipher

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 xrange(i * i, limit, i):
                prime[n] = False

http://codereview.stackexchange.com/a/150447/98493

561
answers
8
questions
~680k
people reached
  • Zürich, Switzerland
  • Member for 3 years, 1 month
  • 1,663 profile views
  • Last seen 59 mins ago

Top Tags (230)

Score 2,263
Posts 564
Posts % 99
Score 883
Posts 211
Score 469
Posts 101
Score 306
Posts 78
Score 305
Posts 73
Score 152
Posts 22

Top Posts (569) All Questions Answers | Votes Newest

View all questions and answers

Badges (148)

Gold

5

Rarest

Silver

44

Rarest

Bronze

99

Rarest