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

So, Problem Set 6, Some of the time my is_valid_word returns the correct answer, sometimes it doesn't, so when letting the computer play it screws up. http://codepad.org/54HvbrzZ Any ideas?

OpenStudy (anonymous):

can't really see it but should it be: and word_dict[letter] <= hand[letter]: try this and see if there is a difference: http://dpaste.com/666124/

OpenStudy (anonymous):

Did the trick. Thanks.

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!