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.
There're already quite a few katas about drawing triangles/pyramids/diamonds, and this one doesn't seem to be original enough compared to those.
Added random tests.
Converted to snake_case (and accepts old solutions).
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
3 test cases = Lame.
Not an issue
maybe first and last string wouldn't consist of spaces
Good insight. I'm not printing anything to the console though.
are you sure you aren't simply printing too much data to the console? (too much assertion messages (like in python) lead to the same thing)
Swift translation kumitted. Anyone know how to add random tests in swift? I've tried several approaches, looked at other katas in swift using random tests, and for some reason I always get SIGILL's and SIGTRAP's.
Nice little kata. Thank you for making this!
I never said tat it's "invalid", just that it seems not the better one to me. ;)
snake_case
is the preferred way of naming functions in Python. It should bebow_tie
.https://www.python.org/dev/peps/pep-0008/
I'd say a line feed at the end is a valid choice. For instance,
unlines
in Haskell adds it in the end.Loading more items...