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.
You've responded with this multiple times but I don't understand what you mean by "don't mutate the input." Why would we be mutating the input?
Python tests reuse the same list for all test cases for some reasons, so don't mutate the input.
I get the same error in Python when r=2, yet I tried it in my idle and it returned 'Leonard'. Don't know what's the problem here.
Want to share your code?
I was able to solve it (eventually) using Python.
Have yet to solve, but maybe there's some riddle to 'return the name of a man who will drink'? Maybe not...