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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Don Knotts?
Should mention language when reporting this.
Random test:
"n6N" is not a palindrome: expected true to equal false
Sample test:
test("RotaTor", true);
and Kata text says results are case insensitive.
So exactly how is "n6N" not a palindrome?
Hi and welcome to Codewars - it seems that this is your first kata, so just to help you troubleshoot what's going wrong: you need to
return
your answer to the Codewars server, not justprint
it to console/screen.So in your current solution, if you replace all the occurences of
print
byreturn
you should already be in a much better position to debug any eventual problems in your code.Also here is the useful Troubleshooting Guide that may help you in any later katas, if you have some problem with errors etc.
stupid task, any outputs doesn't agree.
closing
Please approve PHP translation.
https://www.codewars.com/kumite/6373e6399893430ffde6877e?sel=6373e6399893430ffde6877e
So, do i need to print the '\n' as well or is it ok like the space itself?
How to make \n visible?
Edit: Found out how to do it.
Description with the pluses after the csv strings could be better. I had to figure out that it was just a continous string expected (not a string of strings with extra white-space and plus characters) from the test cases, which is a little more than I should have to be doing for an 8kyu.
Description says to create a new array but you can pass the kata by manipulating the existing array.
This is wrong. Solution is a subject for kata maintenance activities, is run every time kata is republished, and it happened that problems with solution made kata difficult to update to new language or other problems.
The solution internal has no customer-solver facing problems caused and is not visible or needing to be maintainable in any way that would require such changes. Why not 10000 when it works with barely a pause for the user's thought? The specs as per previous response do not matter here. We're not building a prod system and I don't waste my time outside work pretending we are. My brain time is precious and I'm not going to be forced while donating my time to help the community to expend it wastefully.
This kata works and I answer only to the end users: Kata takers who have a problem with how this Kata looks from the outside. I say again: I have big commitments that means I don't have time to be taken to task for
ephemera that is no more tangible than pants on a naked person.
Loading more items...