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.
in theory you dont need the last else but just the return piece.
It sounds crystal clear in my minds ;)
I like your solution
looks the same like mine ;)
I like your solution
looks the same like mine ;)
The expected output is a single string with each row separated with line break.
You need to join your list.
This comment is hidden because it contains spoiler information about the solution
Oh.... Ok I got it. Thanks
You wrote the answer in the question. 6=1, 12=2, 18=3 ... Try to figure out the logic of these equations
In the example, input 6 = 1 line full of ■,
input 12 = 2 ■ lines,
input 18 = 3 ■ lines.
Why? Is there any special rules for those ■ lines?
Ok, I thought putting in assertions will result in the same visual output as logs (kudos! ~~
no, the assertion message is ignoring formatting. That's why the logs are there (unless I'm missing something?)
Logs in JS should be removed and placed as assertion messages
Oh. Finally understand the logic of flat rows.
Just did it. Odd n`s are foooo
the odd values are a mistake I did when I translated the kata. It should be corrected now (reset the trainer/refresh the page if it is still persisting)
thanks
Loading more items...