hi again im doing the spell checker program in the projects for the beginner thing and i have this code:
dict = open("DictionaryE.txt", "r").readlines()
test = "Hello my nmae is george"
correct = []
for line in test:
if line in dict:
correct.append(line)
print line
print correct
but whenever i test it i get this :
[]
i know from other tests that it takes each letter, how can i solve this?