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.
oh i solved it, just create a new list and append the outputs there
capitalization of senior and open
you need to learn about loops and data structures first then hopefully you can solve this kata......
loop throught the list given, apply the conditions if conditions were met create a new list and add the output there. hope this helped you
Testing for [[59, 26], [68, 4], [72, 1], [44, 21], [66, 14], [31, 5], [28, 0], [59, 21]]
['Senior', 'Open', 'Open', 'Open', 'Senior', 'Open', 'Open', 'Senior'] should equal ['Senior', 'Senior', 'Senior', 'Senior', 'Senior', 'Senior', 'Senior', 'Senior'] the random test is wrong it only returns senior in all list?????
i totally ignored the hint "Do not modify the original array." my fault
i thought it was my code but this kata is misleading and has an issue. this should be fixed asap