We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64d6292 commit c8af11fCopy full SHA for c8af11f
Code-Sleep-Python/Prime/code.py
@@ -65,12 +65,12 @@ def sieve_eratosthenes(range_to):
65
66
def is_prime(num):
67
"""
68
- Returns true is the number is prime.
+ Returns true is the number is prime.
69
70
- To check if a number is prime, we need to check
71
- all its divisors upto only sqrt(number).
+ To check if a number is prime, we need to check
+ all its divisors upto only sqrt(number).
72
73
- Reference: https://stackoverflow.com/a/5811176/7213370
+ Reference: https://stackoverflow.com/a/5811176/7213370
74
75
76
# corner case. 1 is not a prime
0 commit comments