Chalarangelo / 30-seconds-of-python

Short Python code snippets for all your development needs
https://www.30secondsofcode.org/python/p/1
Creative Commons Attribution 4.0 International
8.83k stars 1.26k forks source link

Add find_primes #482

Closed ImJuanan closed 2 years ago

ImJuanan commented 2 years ago

Finds all prime numbers up to the given limit based on the Sieve of Eratosthenes.