Ad
  • Custom User Avatar

    I think you're mis-reading the logs. There are two test cases right after each other, both of them are correct:

    Test.assert_equals(score_hand(['A','A','A','J']), 13)
    Test.assert_equals(score_hand(['A','2','A','9','9']), 22)
    
  • Custom User Avatar

    I think you're mis-reading the logs. There are two test cases right after each other, both of them are correct:

    Test.assert_equals(score_hand(['A','A','A','J']), 13)
    Test.assert_equals(score_hand(['A','2','A','9','9']), 22)
    
  • Default User Avatar

    I'm not sure if all test case in python is properly
    In my opinion result of this test case: A, 2, A, 9, 9 should not be 13

  • Default User Avatar

    I have the same problem, and card was:
    A
    2
    A
    9
    9

    I use pritn to show what is in cards

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution