Ad
  • Default User Avatar

    For someone not super familar with this website the way in which the tests work are not familiar to me.
    It seems like a point which should probably be included in the directions, as its quite frustrating to have functioning code which is then consistently being told is wrong.

    My goal was to understand why the test was failing despite all the checks i was putting in were telling me the code was correct.
    "Don't mutate the input" does not explain nor give insight into why the test was failing, which is why i persisted on the matter, and thank you for explaining it to me in your last comment . I'll now know in future this best practice so I don't encounter the issue again of correct code failing tests.

  • Default User Avatar

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

  • Default User Avatar

    Average Score = 4 + 0 + 7 + 0 + 0 + 3 + 3 + 7 + 5 + 1 + 8 + 7 (as sajid is worth double) = 45
    People in Room = 11
    45 / 11 = 4.1
    This should return 'Get Out Now!'

    My script is returning Get Out Now and is being marked incorrect.

  • Default User Avatar

    Python Kata seems to have incorrect tests.

    {'tim': 4, 'jim': 0, 'randy': 7, 'sandy': 0, 'andy': 0, 'katie': 3, 'laura': 3, 'saajid': 7, 'alex': 5, 'john': 1, 'mr': 8} saajid

    Script is returning 'Get Out Now!' which according to directions is correct. However this is being marked incorrect.