mirror of
https://github.com/flancian/garden.git
synced 2026-08-07 15:06:19 +00:00
autopushed
This commit is contained in:
+1
-2
@@ -19,8 +19,7 @@ def print_sieve(sieve):
|
||||
for n, prime in enumerate(sieve):
|
||||
if n >= 2 and prime:
|
||||
primes.append(n)
|
||||
return ", ".join(output)
|
||||
|
||||
return ", ".join(primes)
|
||||
|
||||
def is_prime(n):
|
||||
sieve = [True for n in range(0, n+1)]
|
||||
|
||||
Reference in New Issue
Block a user