Seeing as as few of you guys are familliar with Python, I'd like to ask for some assistance because I'm seriously stuck =_=
Basically I'm trying to populate two dictionaries.
Before I had separate blocks of code to populate each dictionary
(One was an English to German document and the other was German to English)
In the documents being called they are separated by a tabbed space within the document, though, I haven't used the CSV to identify the individual words on each row.
Anyway:
I tried getting it to return the German translation of 'Dog', but that error comes up.
For the life of me I can't figure out what to do
If I can't figure it out soon, I'll just have to submit it. At least it works the way I had it, though I'll lose marks in efficiency.
Edit: Nevermind, I figured it out
Just one of those programmer's block things I guess.
I'll leave it up just in case somebody feels like critiquing my lame programming skillz lol.
Basically I'm trying to populate two dictionaries.
Before I had separate blocks of code to populate each dictionary
(One was an English to German document and the other was German to English)
In the documents being called they are separated by a tabbed space within the document, though, I haven't used the CSV to identify the individual words on each row.
Anyway:
I tried getting it to return the German translation of 'Dog', but that error comes up.
For the life of me I can't figure out what to do
If I can't figure it out soon, I'll just have to submit it. At least it works the way I had it, though I'll lose marks in efficiency.
Edit: Nevermind, I figured it out
Just one of those programmer's block things I guess.
I'll leave it up just in case somebody feels like critiquing my lame programming skillz lol.