autopushed

This commit is contained in:
2023-10-14 23:45:48 +02:00
parent 0e8365e442
commit ec27c51dec
+1 -1
View File
@@ -73,7 +73,7 @@ def prime(n):
"""Simple program that factors a number using a [[Sieve of Eratosthenes]]."""
p, sieve = is_prime(n)
if p:
click.echo(f"[[{n}]] is prime.")
click.echo(f"*{n}* is prime.")
else:
click.echo(f"{n} is not prime. Want proof? :)")
click.echo("\n".join([line for line in PROOF if f'[[{n}]]' in line]))