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.
did I just write the single best one liner in a kata?? cant believe myself
This comment is hidden because it contains spoiler information about the solution
Can someone explain what is happening here? Glitch in the matrix?
scarily creative.
I did not expect lambda itself, let alone that splicing technique.
This comment is hidden because it contains spoiler information about the solution
Sexy
is it this type of floor as operation same as floor() funtion from the module Math? or it only serve for this purpose? example: you have 2.5 it only gives you 2 as a floor. then f you need to rount up or down then should be the time to use ceil and floor methods?
Solution so tiny I could tatoo it anywhere on my body. It wouldn't be readable when it's cold though.
THAT
WAS
I N S A N E
I kneel!
There is a rule, "simple is better than complex".
It's due to is more simple do code inside of def function
rather than do a lambda function.
But it's definetly very clever solution :)
awesome
just a question: how long does this solution took you?
Python, possibly other languages: tests miss sanity checks on values returned by user solution and crash badly when an unexpected value (not a pattern, or not a valid pattern) is returned.
Python, possibly other languages: tests miss sanity checks on values provided by user solution and crash badly when an unexpected value (not a pattern, or not a valid pattern) is returned.
Related: https://www.codewars.com/kata/5ab23a9c1cec39668c000055/discuss#62c2112ef8f15c004b4c4f1e
Loading more items...