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/
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/
here is mine if you're curious http://dpaste.com/803384/
Join our real-time social learning platform and learn together with your friends!