Congratulations Jake :D
A few things that will make it easier for you
>>> 'How'.lower()
'how'
if word.lower() in word_list: # where word_list contains lower case only
so you can remove the upper/lower-case versions of the words by all the time making it lowercase.
if link_word in current_dir == TRUE:
could simply be written
if link_word in current_dir:
You can also use boolean's (True/False) instead of integers
success = 1
could instead be success = True
, and having booleans you can simply check them with if success
(and if you feel like it a there is actually a for ... else
that does exactly what you intend to do without the success variable Why does python use 'else' after for and while loops?)
current_dict.append[newword]
should be current_dict.append([newword])
or current_dict.append(newword)
you also did some misses with calling variables input
like if input=='y'
I also are you running python 2 or 3? in python 2 input('?')
is not what you want (it's raw_input('?')
I think you would want wordvariations
to be it's own for the greetings part. Like call it greetings. (This so you don't have to ...[1]
all the time)
You wrote what_does_this_mean
instead of what_does_that_mean