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.
It's in the kata description.
"You can assume that you are only given numbers."
IMHO : Could be even better with proper names for the variables.
My solution
This comment is hidden because it contains spoiler information about the solution
Work smarter, not harder.
I feel hella smart for figuring ts out
the more I code the more I understand the pythonic way of coding ,
with this excerice i was able to fully understand set , join and sorted
my favorit solution too, didn't know before that max returns the longest string. so it's short and brave. genious. I love it.
lol too
perfect!
i guess it's to late but, in reduce, you have initial value after callback function, which is most of the times called accumulator. So if initial value is 0 and there is no elements in an array - it return 0, as callback never called.
I don't leverage the power of "in (iterable)" enough LOL
Ah...I applied tolower() directly to the char in the ord()...didn't think to apply it to the whole string lol
python guru move
Loading more items...