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.
The example tests already provided a clear illustration of the output
Hello I need some please My Test code is below
Can someone please help me out on why I keep failing this Kata My Code Snippets are below
Please I need some help with this propblem . My code is in the comments below .
In the test cases, several of the results look to be missing spaces towards the bottom teirs of the tower (see the last two indexes in the Expected array below). Wouldn't the second to last (index 3 in the below example) still have one space on each end?
Expected: '[" * "," *** "," ***** ","",""]',
instead got: '[" * "," *** "," ***** "," ******* ","*******"]'
Edit: It looks like the comment strips out some of the extra spaces/padding in the array indexes, but either way, the second to last in the expected doesn't have any space paddings on either side as it looks like it should.