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