Reverse translation dictionary Python
<p>This is what I have ended up with after suggestions were made it appears as if the Eng dictionary is identical to the Tuc one. This program will translate English words to Tuccin but I can not for the life of me get it to translate Tuccin to English Pleae tell me how to achieve this. In the event a non stored word is input I have it set to just print the word itself. But i don't even manage to get the elif to trigger it goes straight to the else condition if it's not a stored English word.    </p>

<pre><code>Tuc={"i":["o"],"love":["wau"],"you":["uo"],"me":["ye"],"my":["yem"],"mine":["yeme"],"are":["sia"]}
Eng = {t: e for t, e in Tuc.items()}
print "ENG"
print Eng
print "TUC"
print Tuc
phrase=True
reverseLookup = False  

while phrase == True:
    translation = str(raw_input("Enter content for translation.\n").lower())
    input_list = translation.split()


    for word in input_list:

        #English to Tuccin
        if word in Tuc:
            print ("".join(Tuc[word]))+" *English&gt;&gt;Tuccin"

       #Tuccin to English
        elif word in Eng:
            print ("".join(Eng[word]))+" *Tuccin&gt;&gt;English"

        else:
            print word+" *Word Not Stored"
</code></pre>

<p>You have a typo up there:</p>

<pre><code>Eng = {e[0]: [t] for t, e in Tuc.items()}
</code></pre>

python dictionary translation