]> crepu.dev Git - config.git/blame - djavu-asus/sieve.py~
Archivo de configuraciĆ³n de la terminal
[config.git] / djavu-asus / sieve.py~
CommitLineData
53e6db90
DC
1MAX_PRIME = 100
2
3sieve = [True] * MAX_PRIME
4for 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