Skip to content

Commit f0e2ca8

Browse files
committed
Updated scrabble folder
1 parent e166854 commit f0e2ca8

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

Scrabble/Scrabble/src/goslate

Submodule goslate deleted from d6d511a

Scrabble/scrabble.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def valid(word):
2424
bool: True if the word is valid, False otherwise.
2525
"""
2626
dictionary = PyDictionary()
27-
return dictionary.meaning(word) is not None
27+
return bool(dictionary.meaning(word))
2828

2929

3030
def compute_score(word):

Scrabble/src/goslate

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)