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.
@Azuaron - agreed. The simplest python solution isn't possible because of the presence of a None value (as far as I can tell at least).
Funny, I was thinking the whole kata was very un-pythonic.
I'm not sure I like the terminology used in the description. Sounds very "Pythony" which is fine for the Python kata, but distracting for the JS side. I'm not sure the description for a kata can be different depending on the language though
Hey Ricardo! Yeah I thought it was you. I just started codewars :) Thanks man. Hope you're doing good as well!
I think it means that if a 'Bag' object does not have any elements in it, then it should not blow up the tests. So your code should still work even for 'Bag' objects that happen to not have anything in it.