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 know of one other which was the exact same length. what are the other ways tho?
EDIT: I found a way which is 1 char shorter
IDK if it was a joke, but there are 3 shorter ways to import.
my exact solution but i was golfing
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 :)
who can explain me this
Humbled again.
That's very clever, congrats!
Good
No way -- no way.
This is just so neat
Clever, but not efficient. Nit: should space around operators by default to improve readability.
Before I read the comments here, I thought code wars was a bit laggy and wasn't displaying the complete code...
#11bfp_42v
python never ceases to amaze me
HAHAHAHAHHAHAHAH
Loading more items...