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.
Hi,
there is no sorting invloved. You keep the order of the original sentence.
No, since they are not at the beginning. That's what dropwhile does: it drops elements from the list while the predicate is satisfied, then returns the remaining part of the list.
it's explained there
I had the same exact problem. This makes so much more sense now...
Because the first element is odd. It's like a while loop, it ends when the condition is false.
You're welcome :)
Do you know you can print the input? https://docs.codewars.com/training/troubleshooting/#print-input