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.
The scenario is a good idea, but I don't think it's a good idea to be returning a String object.
Approved.
Right, this is my ommission. Sorry for troubling. Now all has mathched.
Your code is wrong, not a kata issue. Read the description again, the word you're looking for is
"wolf"
, not"Wolf"
they're different.Again, the same problem. Cannot pass the tests (Java), which say: expected:<[Oi! Sheep number 2! You are about to be eaten by a wolf!]> but was:<[]>. Am I right assuming, that my solution returns empty string except the required? Ubfortunetely, I don't know what is the source of the problen with tests. The IDE shows that all works as per the instructions, but it cannot test the Kata's inner (codewars') state... This is the second time when my solution returns no string value.
C++ Translation.
The only thing to fix is your code.
Please see if this paragraph helps: https://docs.codewars.com/training/training-example#writing-a-solution
This comment is hidden because it contains spoiler information about the solution
this task has "somebody touched my spaguette!" energy
This comment is hidden because it contains spoiler information about the solution
yes, my mistake. i should run return, not print :) sry
Not a kata issue, read this: https://docs.codewars.com/training/troubleshooting#expected-the-same
why tests are failed?
i did everything correct
Log
Oi! Sheep number 2! You are about to be eaten by a wolf!
None should equal 'Oi! Sheep number 2! You are about to be eaten by a wolf!'
Log
Oi! Sheep number 5! You are about to be eaten by a wolf!
None should equal 'Oi! Sheep number 5! You are about to be eaten by a wolf!'
Log
Oi! Sheep number 6! You are about to be eaten by a wolf!
None should equal 'Oi! Sheep number 6! You are about to be eaten by a wolf!'
Log
Oi! Sheep number 1! You are about to be eaten by a wolf!
None should equal 'Oi! Sheep number 1! You are about to be eaten by a wolf!'
Log
Pls go away and stop eating my sheep
None should equal 'Pls go away and stop eating my sheep'
Completed in 0.04ms
Kata's rank won't be changed.
i solved that but when i compered that with other kyu8, i think it is diffucult for that level. maybe kyu7
Loading more items...