Übersetzer


#!/usr/bin/python

import string
eingabe = raw_input("Übersetze:")
#dict = {}
#dict['ich'] = "I"
#dict['gehe'] = "walk"
#dict['sehe'] = "see"
#dict['fühle'] = "feel"
#dict['dich'] = "you"
#dict['mich'] = "me"

dict = {"ich":"I",
'gehe':'go',
'sehe':'see'
}

liste = string.split(eingabe," ")
for i in liste:
print dict[i],"\t"