]> crepu.dev Git - config.git/blame_incremental - djavu-asus/emacs/sieve.py~
Reorganización de directorios
[config.git] / djavu-asus / emacs / 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