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.
i added better assertion messages to Ruby. your code is wrong,
downcase
is not a mutating method, so think about how it affects the logic of your code. please do not raise issues so lightly in the future, ask a question instead to ask for helpIs this code bugged in Ruby? Running "test" only runs one test (which it passed). I had to manually check every listed test, which all match. But when I try to submit, it fails...something...
Thank you a lot, I was not aware of that!
When you hit "test", your solution is only run against the sample tests that you can see at the bottom of the code editor. When you hit "attempt", your solution is run against a much larger set of tests that aren't visibile to you. You can always print the input to the console to see what the inputs are though.
heyy why does it work when i try but doesn't when I attempt?
Failed asserting that null is identical to -3523.
and when I try it passes all the tests???
8kyu
Approved
This comment is hidden because it contains spoiler information about the solution
Groovy Translation
This comment is hidden because it contains spoiler information about the solution
the problem i am having is do i copy the sample test or do i create my own words and code?
When I first looked at it, I thought, "This one is really easy, I'll solve it quickly." ... ☠️
Good kata
Yeah, sometimes diving right in isn't the right thing to do. Take your time and solve it carefully.
You may even realise you don't even need to use a map.
Indeed. Thank you!
Loading more items...