Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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.
This comment is hidden because it contains spoiler information about the solution
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.
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.