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.
It is not an issue, this is how Codewars works.
I eventually changed the code not to print but to return only and it worked. Thus the issue here is the testing algoritm expects a return value, not a terminal output.
perhaps there is an extra transition to the next line at the last iteration
This comment is hidden because it contains spoiler information about the solution
Dificult Dificult dificult
Approved LosBlobbos' fork.
Removed
TestFactory
because it is too loud when tests are failing. Approved.Rust translate
I did a while loop in for loop, but I kept getting time out...
https://docs.codewars.com/training/troubleshooting#expected-the-same
Probably because your code returns a wrong answer. If the only thing you did was replacing print with return, then your code only returns a part of the whole string.
When I use return Instead it is still saying I failed the tests
You're printing the result to the console instead of returning it.
Still dont know why
https://docs.codewars.com/training/troubleshooting#expected-the-same
Loading more items...