]> crepu.dev Git - config.git/blame - djavu-asus/sieve.py
Configuracion en desarrollo PC pega
[config.git] / djavu-asus / sieve.py
CommitLineData
53e6db90
DC
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