]> crepu.dev Git - config.git/blob - djavu-asus/sieve.py
ActualizaciĆ³n de Readme
[config.git] / djavu-asus / sieve.py
1
2 MAX_PRIME = 100
3
4 sieve = [True] * MAX_PRIME
5 for 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