]> crepu.dev Git - config.git/blob - djavu-asus/sieve.py~
Archivo de configuraciĆ³n de la terminal
[config.git] / djavu-asus / sieve.py~
1 MAX_PRIME = 100
2
3 sieve = [True] * MAX_PRIME
4 for i in range(2, MAX_PRIME):
5 if sieve[i]:
6 print(i)
7 for j in range(i * i, MAX_PRIME, i):
8 sieve[j] = False