mirror of
https://github.com/flancian/garden.git
synced 2026-08-06 14:36:18 +00:00
autopushed
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ def is_prime(n):
|
||||
# I wrote >= here initially. That did *not* work ;)
|
||||
if i * j > n:
|
||||
break
|
||||
PROOF.append(f"[[{i*j}]] is composite: {i} * {j}.")
|
||||
PROOF.append(f"{i*j} is composite: [[{i}]] * [[{j}]].")
|
||||
try:
|
||||
sieve[i*j] = False
|
||||
except IndexError:
|
||||
|
||||
Reference in New Issue
Block a user