]> crepu.dev Git - config.git/blame_incremental - djavu-asus/sieve.py~
Actualizado el Readme
[config.git] / djavu-asus / sieve.py~
... / ...
CommitLineData
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