I am having trouble using the test code for problem set 3.Even after making changes to my code.The test code gives the same error it was giving previously Is anyone else having this problem?
What error? Are you using Python 3?
i am using python 2.7. say for some function i return an empty dictionary . The next time even if i enter some elements into the dictionary and run the test, it would still say that the dictionary is empty.To get a different result i have to download a fresh copy of the test code.
Are you sure that the word list file is in the same folder as your .py file?
paste your code at a code pasting site and post the link here.... http://dpaste.com http://pastebin.com http://codepad.org
I ended up testing individual functions in the code by myself and everything is running fine...No bugs or errors.Then i downloaded the a fresh copy of the test code and it finished successfully.So i guess my program is correct.. http://dpaste.com/765381/ Thanks for the replies anyway !
Join our real-time social learning platform and learn together with your friends!