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 went over and made a list to do all this! Brilliant
which one
immaculate
Elementary
nice radix conversion from int to string
counting matches of '1' is simple, and could easily scale to higher radixes such as octal
could easily be extended to match multiple digits, such as .count('137')
range traversal is clear
accumulator function sum() over a list is also a nice aggregate function
nah
Clever, but this code is less readable than if you split it into several functions with explicit names.
which one
same
He meant the logic of solution would not be valid anymore, but still genius as it has 0.5 =)
Really nice solution. It's always a pleasure to learn from others with more skill - bravo!
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.
dictionary lover ;-)
my exact solution but i was golfing
Loading more items...