autopushed

This commit is contained in:
2023-10-15 03:39:53 +02:00
parent 7dadc3b8f4
commit ed3548c4c2
+1 -1
View File
@@ -39,7 +39,7 @@ def is_prime(n):
# I wrote >= here initially. That did *not* work ;) # I wrote >= here initially. That did *not* work ;)
if i * j > n: if i * j > n:
break break
PROOF.append(f"[[{i*j}]] is composite: {i} * {j}.") PROOF.append(f"{i*j} is composite: [[{i}]] * [[{j}]].")
try: try:
sieve[i*j] = False sieve[i*j] = False
except IndexError: except IndexError: