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.
I really like this solution ngl, clever!
the .upper() function makes the string all capitals, so we are just comparing wether the all capitals version of the string is equal to the string, therefore checking if the string is all capitals
did the same, so neat!
Oh, indeed, input is string, not list :)
Cybersamurai, wdym? It works perfectly, I just tried it.
who can explain me this
gg
This comment is hidden because it contains spoiler information about the solution
So clever. good luck!
That's very clever, congrats!
That one is crazy gg
It's not faster, if you run the code, you'll notice that the time varies a lot between one and the other, sometimes one is faster and sometimes the other, and endswith is written in C for performance.
Clever, but not efficient. Nit: should space around operators by default to improve readability.
It's odd when you know most people will do the same thing as you, when there are so many ways to do it
This comment is hidden because it contains spoiler information about the solution
Loading more items...