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.
Just like in Python version, tests in Ruby version reuse the same list for all test cases for some reasons, so don't mutate the input.
I'm having issues with the tests. When I run my code in IRB, I get the correct answer. For example, r = 10, I get Penny. But my tests won't pass. For r = 10 I get "Expected: Penny, instead got: Sheldon". I've tested it on multiple examples that are failing, but shouldn't be. Since I'm getting the correct answer, I can't figure out what I need to do to fix it.