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.
Applied the "consecutive" in the description.
Not an issue.
There are more than one already open suggestion below that say almost the same.
This should not have been a 5 kyu. A 7 kyu (at most a 6) would be more fitting for this problem.
or 8 kyu!
Simple and obvious solution! I didnt think that it would still pass the tests if i had both a return and print() in my function, therefor i thought i wouldnt be able to diagnose/display the problem within Codewars. That i was wrong. Thanks Chrono79.
Use
print
to see the input value. There is an u and also an a in your output.Im having trouble diagnosing the problem when this challenge doesnt show me what input/sentences it's using. My code passes the test cases but not the full test suite.
Here is the error i get: "N ffns bt,\nYur wrtng s mng th wrst 'v vr rad" should equal "N ffns bt,\nYr wrtng s mng th wrst 'v vr rd".
If i knew what the full sentence was i could diagnose the problem on my own. Sugggestions greatly appreciated.