Ad
  • Custom User Avatar

    He not wrong about saying there needs to be more information. this helped me alot

  • Custom User Avatar
    ['Player 1', 'Player 2', 'Player 3'] --> Winners before it is returned to the handler
    [] should equal ['Player 1', 'Player 2', 'Player 3'] <-- WTH it changed my returned value to an empty list.
    

    that test has actual and expected that are still inverted (seems to be the only one remaining)

    21 2 ['A', '10']  --> Player 1
    ['J', 'A']  --> Croupier
    ['Player 1'] --> Winner
    ['Player 1'] should equal []
    

    And since you get actually the same behavior here (you should return an empty list), that means that the problem is in your code, actually.

  • Default User Avatar

    Good question though, I completely overlooked that little piece of information too :-)

  • Custom User Avatar

    Within that sequence, he chooses two numbers, a and b

    In your example only 15 and 21 are within 1-26.
    [[1, 175], [3, 87], [7, 43], [10, 31], [31, 10], [43, 7], [87, 3], [175, 1]]: here all numbers like 175, 87, 43, 31 are not within 1-26.
    BTW don't post issue unless you are sure you understood the description. You could post simply as beeing a "Question".