Skip to content

Commit c8af11f

Browse files
lvictorinoprateekiiest
authored andcommitted
Uniform comments. (prateekiiest#149)
1 parent 64d6292 commit c8af11f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Code-Sleep-Python/Prime/code.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ def sieve_eratosthenes(range_to):
6565

6666
def is_prime(num):
6767
"""
68-
Returns true is the number is prime.
68+
Returns true is the number is prime.
6969
70-
To check if a number is prime, we need to check
71-
all its divisors upto only sqrt(number).
70+
To check if a number is prime, we need to check
71+
all its divisors upto only sqrt(number).
7272
73-
Reference: https://stackoverflow.com/a/5811176/7213370
73+
Reference: https://stackoverflow.com/a/5811176/7213370
7474
"""
7575

7676
# corner case. 1 is not a prime

0 commit comments

Comments
 (0)