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.
This comment is hidden because it contains spoiler information about the solution
match
keyword wasn't available at the time I wrote this solution.It is in kata requirement (only 2 lines) so I suppose it is fine to hardcode y-axis values for "up" and "down".
However you lose support for more than 2-line height, the same goes for 6-line width that you harcoded
Check out mine. You might see an improvement in readability.
Love this solution. Had to spend 20 minutes reading Python Documentation to truly understand how it worked, but it was totally worth it.
i love one linersss, but i couldn't figure out a way to one-line this one. clever!
it doesn't seem very effecient… it joins a string by a comma, then splits it by a comma from the right.
This comment is hidden because it contains spoiler information about the solution
Love it :)
remove the res[]
love it
lovely :)