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.
Tests do not necessarily test for "-1" being the coefficient of the term with the highest power of the variable (e.g. the x^3 coefficient of (-x+1)^3 is -1). In this case, my original code would have returned -1x^3 + ..., yet it passed because this case was not tested (I ran it again because I removed some
print()
statements, and then it failed).Brilliant kata, though—thanks!
Approved by someone
python new test framework is required. updated in this fork
JS "Random number of spaces" test has words separated by 4 spaces:
In JS (at least), we may receive a string with spaces at the beginning. It doesn't match with the description :
You will be given a string with sets of characters, (i.e. words), seperated by between one and three spaces (inclusive).
But uhm. I'd like to see this fixed.
I'm not sure if you want to write the changes yourself out of sense of ownership (I kind of assume you do) and whether you know how to make the suggested changes. Getting the updated code into the kata is the easiest problem here, even if codewars has decided to lock you out for some unfathomable reason.
Perhaps you're willing to pop into discord to get a shorter roundtrip on messages: https://discord.com/invite/mSwJWRvkHA
Ah that makes sense. Damn, I need to read the instructions better.
Thanks a lot again!
May the code be with you
👾You seem to be checking the whole word, but the instructions only want you to check the first letter of every word.
This comment is hidden because it contains spoiler information about the solution
That's... silly. Somebody else would have to carry out the actual edit. :|
Thanks for the feedback! I can't seem to edit the test cases, though.
lol, thanks for quick reply! didn't see it.
There is no Java version of this kata, none of the available languages have a String class ^^
String abc = "abcdefghijklmnopqrstuvwxyz";
^
SyntaxError: invalid syntax
Why is this an error?
Loading more items...