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.
But didn't it takes more time for slicing, if there is long list? And what if we check "len(arr) > 2" instead of "len(arr) > 1". Wouldn't it be faster?
This comment is hidden because it contains spoiler information about the solution
Didn't get what this &-operator was doing. Can someone explain this to me?
upd Got it
This one actualy seems pretty good! But it also works without square brackets. So I really didn't get, what we use them for? Can someone please clarify this for me?