Word wheel: Difference between revisions
Content added Content deleted
(→{{header|Python}}: optimised.) |
|||
Line 219:
def getwords(url='http://wiki.puzzlers.org/pub/wordlists/unixdict.txt'):
"Return
words = urllib.request.urlopen(url).read().decode().strip().lower().split()
return
def solve(grid, dictionary):
gridcount = Counter(grid)
mid = grid[4]
return
if mid in word and not (Counter(word) - gridcount)
|