Ad
  • Custom User Avatar

    @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).

  • Custom User Avatar

    Funny, I was thinking the whole kata was very un-pythonic.

  • Custom User Avatar

    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

  • Custom User Avatar

    Hey Ricardo! Yeah I thought it was you. I just started codewars :) Thanks man. Hope you're doing good as well!

  • Custom User Avatar

    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.