Ad
  • Custom User Avatar

    Gwiji; Thank You.
    Solved it.

  • Default User Avatar

    I was receiving the same error but found my way around it. Hope you received help. I realized what was causing the wrong output was the fact that i was using the zero rank in my computations instead of skipping it. Hope this helps anyone who faces the same in the future.

  • Custom User Avatar

    ✘ After applying rank of 1 the resulting user rank was expected to be -2, but was actually 1: 1 should equal -2

    someone make sense of this

  • Custom User Avatar

    I ignored the back slash \ when I created my method and it worked fine, but I do have an issue passing the last test.
    It seems that the test is returning the incorrect result.

  • Custom User Avatar

    I am a little bit familiar with classes.

    And I'm talking about "Code Usage Examples" part in the (Python 2) kata description.

  • Custom User Avatar

    you have to be little bit familiar with classes
    what kata wants is us to make a method for inc_progress that accepts one element

  • Custom User Avatar

    Hi!! Thanks so much for your response, I understand the problem now!!! I will code it when I come home.
    And I am so sorry that I have marked it as an issue, I will try to be more careful in the future.

    Thanks again!!! (and sorry)

  • Custom User Avatar

    Each "troop" has a specified value (in the description), you don't just add it up

    Read the Kata description fully if you have a problem with a Kata.

    kcode11 gave you the answer to your issue literally one comment below yours:

    Just so everybody understands Kata right; the string is not a bool list of which fighter is present, it is a count of how many of those fighter are present (in ranking order).

    Please don't mark as an issue if you aren't sure of the problem.

    Example:

        0 0 1 1 1 0        /  0 0 0 0 0 0 1
    Elf + Dwarf + Eagle    /  Wizard
     3  +   3   +   4      /    10
           10              /    10
    
    
    10 == 10 therefore it is a draw
    
  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    Just so everybody understands Kata right; the string is not a bool list of which fighter is present, it is a count of how many of those fighter are present (in ranking order).