Python All my keys are using the same values : <p>I have a problem with my code! I am in the process of making a program that will create a file that will store words alongside thee definitions using dictionaries. So far, I have gotten it to work the way I intended, but when I see the results, each key that returns all have the same value. Why/</p>

<pre><code>words = {}

word = raw_input("What word is it? ")
definition = raw_input("What's the meaning of the word ")
words[word] = definition

addition = raw_input('Have another word you need to remember? Y/N ')

while addition == "Y":
    word = raw_input("What word is it? ")
    definition = raw_input("What's the meaning of the word ")
    words[word] = definition
    addition = raw_input('Have another word you need to rememeber? Y/N ')

# How to get my key to display the correct information.

for key, value in words.items():
    print(key + ": " + definition)


f = open("Dcitionary.txt", "w")

for key, value in words.items():
    f.write(key + ": " + definition)

f.close
</code></pre>
