Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f265e7c

Browse files
committed
More s/##/#/ for consistency.
1 parent a3861d2 commit f265e7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

search.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ def exact_sqrt(n2):
621621
assert n * n == n2
622622
return n
623623

624-
##_____________________________________________________________________________
624+
#_____________________________________________________________________________
625625

626626
class Wordlist:
627627
"""This class holds a list of words. You can use (word in wordlist)
@@ -656,7 +656,7 @@ def __contains__(self, word):
656656
def __len__(self):
657657
return len(self.words)
658658

659-
##_____________________________________________________________________________
659+
#_____________________________________________________________________________
660660

661661
class BoggleFinder:
662662
"""A class that allows you to find all the words in a Boggle board. """
@@ -714,7 +714,7 @@ def __len__(self):
714714
"The number of words found."
715715
return len(self.found)
716716

717-
##_____________________________________________________________________________
717+
#_____________________________________________________________________________
718718

719719
def boggle_hill_climbing(board=None, ntimes=100, verbose=True):
720720
"""Solve inverse Boggle by hill-climbing: find a high-scoring board by

0 commit comments

Comments
 (0)