File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -621,7 +621,7 @@ def exact_sqrt(n2):
621
621
assert n * n == n2
622
622
return n
623
623
624
- ## _____________________________________________________________________________
624
+ #_____________________________________________________________________________
625
625
626
626
class Wordlist :
627
627
"""This class holds a list of words. You can use (word in wordlist)
@@ -656,7 +656,7 @@ def __contains__(self, word):
656
656
def __len__ (self ):
657
657
return len (self .words )
658
658
659
- ## _____________________________________________________________________________
659
+ #_____________________________________________________________________________
660
660
661
661
class BoggleFinder :
662
662
"""A class that allows you to find all the words in a Boggle board. """
@@ -714,7 +714,7 @@ def __len__(self):
714
714
"The number of words found."
715
715
return len (self .found )
716
716
717
- ## _____________________________________________________________________________
717
+ #_____________________________________________________________________________
718
718
719
719
def boggle_hill_climbing (board = None , ntimes = 100 , verbose = True ):
720
720
"""Solve inverse Boggle by hill-climbing: find a high-scoring board by
You can’t perform that action at this time.
0 commit comments