Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 14 Online
OpenStudy (anonymous):

I'm having a perplexing problem with Problem Set 3, problem 3 -- is_valid_word. The function works when I submit the parameters myself but always returns false when I run test_ps3a. Any thoughts?

OpenStudy (e.mccormick):

Did you try tossing in some print statements to see what results you are getting?

OpenStudy (anonymous):

Yes, they all check out when I'm testing is_valid_word directly but don't even show when I run it through the test.

OpenStudy (e.mccormick):

I have done some searching and many people had an issue where they needed to close and reopen idle to get it to load their msot recent stuff properly for the testing.

OpenStudy (anonymous):

THANKS! That was the problem.

OpenStudy (e.mccormick):

Good. Then it means you did things right and it was just being picky!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!