Problem: How can I read the csv file and write it into dictionary? I try a lot c
ID: 3774277 • Letter: P
Question
Problem: How can I read the csv file and write it into dictionary?
I try a lot codes but always got sytnx error...
So I have a file "textToEnglish". Like this:
$$
money
143
I love you
I need create a dictionary and store first elements as key and second one as value in each row.
And then the user will type the key and will get the value. And the biggest touble for me is how to create the dictionary like that.
So I need help.
Actually, I have post this problem on chegg, if you can help..THANKS!
http://www.chegg.com/homework-help/questions-and-answers/python-problem-please-help-problem-question-smaple-file-texttoenglishcsv-thank-much-money--q16585715
$$
money
/. Slashdot *4u Kiss for you *67 unknown *eg* evil grin 0day software illegally obtained before it was released 0noe Oh No 0vr over 10q thank you 10tacle Tentacle 10x thanks 12b wannabe 1337 elite 133t elite143
I love you
Explanation / Answer
here is my code
for your convinience iam giving another code,as it ismuch effective and easy to understand
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.