I have this code:
while True:
words = {}
aorl = raw_input("Add or look up a word (a/l)? ")
if aorl == "a":
word = raw_input("Type the word: ")
definition = raw_input("Type the definition: ")
words[word] = str(definition)
print "Word added!"
elif aorl == "l":
type = raw_input("Type the word: ")
if type == ??:
???
If the user looks up a word to find the definition, how would I print the definition from the dictionary?