from difflib import get_close_matches
if w in data:
elif len(get_close_matches(w,data.keys())) > 0:
yn=input("Did you mean %s instead? Enter Y if yes, or N if no:" %
return "The word does'nt exist. Please double click it"
return "We didn't understand your entry"
return "The word doesn't exist. Please check it"
word=input("Enter word: ")
for item in output:
input('Press Enter to exit')
"appeal": "a request to the public for money, information, or help",
"appropriate": "suitable or right for a particular situation or occasion",
"blameless": "not responsible for anything bad",
"contribute": "to give something, especially money, in order to provide or
achieve something together with other people",
"combine": "to (cause to) exist together, or join together to make a single thing
"impact": "the force or action of one object hitting another",
"initiative": "a new plan or process to achieve something or solve a problem"