Day 6
This commit is contained in:
@@ -3,13 +3,16 @@ words = set()
|
||||
def check(word):
|
||||
return word.lower() in words
|
||||
|
||||
|
||||
def load(dictionary):
|
||||
with open(dictionary) as file:
|
||||
words.update(file.read().splitlines())
|
||||
return True
|
||||
|
||||
def size():
|
||||
|
||||
def size():
|
||||
return len(words)
|
||||
|
||||
def unload():
|
||||
|
||||
def unload():
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user