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.
But
n
can be negative.Hey both - I've added an example unit test to the Go solution. It matches the one in the kata description.
the error appears because no unit tests are written. If you write at least one yourself the error disappears and it compiles. Would be better if at least one test existed by default, tbh.
Is that C#? It fails the last two sample tests too. Read the instructions again, it seems your not doing what they say.
There isn't a proper debugger here, but you can debug by using simple
print(...)
statements and checking where your logic went wrong (after submit)How about trying to debug it in THIS environment? See why it's returning False (maybe your function returns False every time, due to some typo?). Or just post your code here and mark it as spoiler...
Well, the feedback you posted suggests that you returned FalseDownvoting people trying to help you won't get you any help. And, no, claiming your code (which we can't see) works in another environment isn't useful.
Please look at your code: 6936 gys passed the Python kata so I am sure there is no problem in the tests.
It is clear that the answer is True. You didn't pass if you return False. You can verify by hand. Cheers.
@Chrono79: I am afraid we are wasting our time...
That seems a problem with your code instead, try posting it here using markdown formatting and marking your post as having spoiler content.
Duplicate issue.