Skip to content

Commit

Permalink
[doc] Indenting
Browse files Browse the repository at this point in the history
  • Loading branch information
writinwaters authored Sep 8, 2022
1 parent c32970f commit 4515944
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/lang/articles/get-started/accelerate_python.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def is_prime(n: int):
# - otherwise, returns True
for k in range(2, int(n ** 0.5) + 1):
if n % k == 0:
result = False
break
result = False
break
return result

# Traverses the range between 2 and n
Expand All @@ -34,7 +34,7 @@ def count_primes(n: int) -> int:
count = 0
for k in range(2, n):
if is_prime(k):
count += 1
count += 1

return count

Expand Down

0 comments on commit 4515944

Please sign in to comment.