mirror of
https://github.com/flancian/garden.git
synced 2026-08-07 15:06:19 +00:00
autopushed
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ class AgoraCmd(click.Command):
|
|||||||
""")
|
""")
|
||||||
|
|
||||||
@click.command(cls=AgoraCmd)
|
@click.command(cls=AgoraCmd)
|
||||||
@click.option('n', type=click.INT)
|
@click.argument('n', type=click.INT)
|
||||||
def prime(n):
|
def prime(n):
|
||||||
"""Simple program that factors a number using a [[Sieve of Eratosthenes]]."""
|
"""Simple program that factors a number using a [[Sieve of Eratosthenes]]."""
|
||||||
if is_prime(n):
|
if is_prime(n):
|
||||||
|
|||||||
Reference in New Issue
Block a user