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.
Passed all provided tests, but when trying final attempt, I have many output failures. What I've noticed from the provided outputs, it appears that "words" are possible substring repetition patterns, which isn't mentioned in the instuctions.
I disabled MRI 2.5 for Ruby.
Changing the Ruby version to MRI 3.0 will fix this.
Random tests are broken for Python?
Edit: nvm I got it. Still could have been explained better.
This comment is hidden because it contains spoiler information about the solution
Простыми словами по-русски, что требуется сделать:
I think this kata is too easy for 4 kyu. I feel like it has to be maximum 5 kyu.
You can just 'print(text)' if you want to know what the test string is. You may not be replacing the non-alphabetic characters with whitespaces. This wasn't tested in the sample tests
My Solution passes the Sample Tests but are failing on a Random Test.
Problem is without the Teststring its not possible to find out why it fails.
The output of the Tests is very poor.
Ruby, both sample tests and on submit:
The instruction examples are very poor. The errors don't show the input so it's a guess game to understand what they precisely expect... I've spend way more time trying to understand how they want us to "cut" the words than actually work on the solution... I hope they will clarify the examples!
Clarifying that ' alone does not count as a word would be nice.
Overall, it was a fun and interesting kata.
done
https://docs.codewars.com/training/troubleshooting#print-input
you need to print your input and debug your code. your code fails examples that are in the description, e.g. for
" //wont won't won't "
you return the list["won't", "wont", " "]
. A bug in your code is not a kata issue please ask questions when you need helpLoading more items...