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

I am working on ps3, on the function that is supposed to validate words. According to the test function it is not working, but when I run the same word and the same hand through manually it returns what the test function expected (even though when running it through the actual test function it failed on those words and hands). Is this a problem with my code? or is it a problem with the test function? or? http://dpaste.com/803354/

OpenStudy (anonymous):

i was getting an error: is_valid_word return x.__add__(y) == 2 UnboundLocalError: local variable 'y' referenced before assignment so i added line fourteen and a couple of print statements and it worked for me http://dpaste.com/803367/

OpenStudy (anonymous):

here is mine if you're curious http://dpaste.com/803384/

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!
Latest Questions
luvnickk: If yalll fw the weeknd your a 10 !!
15 minutes ago 9 Replies 1 Medal
Ash2746: Anyone know anything interesting about the Cold War?
5 minutes ago 9 Replies 2 Medals
Austinsbabygirl4life: Texas schools look funn
2 minutes ago 6 Replies 2 Medals
chuu: Is it (Hunt 30-31) or (Hunt 30-1) in MLA?
1 hour ago 1 Reply 0 Medals
luvnickk: what typa music yall listen to ?
26 minutes ago 28 Replies 3 Medals
GothgirlLillian: Is music considered art?
32 minutes ago 8 Replies 0 Medals
luvnickk: am newwww
13 hours ago 0 Replies 0 Medals
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!