Python Spell Checker Linear Search
I'm learning Python and one of the labs requires me to import a list of words to serve as a dictionary, then compare that list of words to some text that is also imported. This is
Solution 1:
Like the lb says: You use .upper()
:
dictfile = []
for line in dfile:
line = line.strip()
dictfile.append(line.upper()) # <- here.
Post a Comment for "Python Spell Checker Linear Search"