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.
Approved
python new test framework is required. updated in this fork
I was inspired by this and came up with another interesting, short solution using numpy's rot90: https://www.codewars.com/kata/reviews/5412ed87648162f1e60000c4/groups/6399b331f70c1e000184df8f
You can very easily turn it into pure python by replacing the last line with a function that goes through the return value in reverse order.
This comment is hidden because it contains spoiler information about the solution
Python example tests use
input
, a python keyword as a variable.Python example tests have expected and actual flipped
Approved as 7 kyu.
Thanks a lot for helping me in my first kata!
Ok, fixed! The single-digit example is there, it's the
9
(the stem is0
).warning with the formatting of the description: prefer to use bullet points for the "important things to notice" (and I'd suggest to put a single digit right into the example above that)
yes (like 100 of them. Well, considering the domain of the problem, 50 with various lengths would be enough, I guess)
Loading more items...