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 example under the instructions isn't showing up for Ruby. I was rather confused as to what straight doubles and straight triples meant until I switched languages to take a look at the example.
Thanks.
You should be more clear about how you want the final output formatted. For example, if the input is 14.999:
At first I though you just wanted 2 decimal places, so I gave you "15.00" and failed. I tried removing trailing 0's including the decimal place if both decimals were 0.
I gave you "15" and failed. It seems what you really wanted was 1 decimal place if the second decimal place was a 0. "15.0" seems to work okay.
Kind of an odd requirement, but I'm flexible...
Kumited a ruby translation. My first translation on code wars, so let me know if it needs any work.
The description should mention something about the sequence not actually being sequential in the final tests.
Wrong syntax in one of the ruby tests.
Suggested fix: Test.assert_not_equals(greeting_for_all_friends(["Bilal"]), nil, "Must not return nil for an input")
That's not how standard sudoku works. Only rows, columns, and 3x3 regions need to follow the 1-9 rule. There are special forms of sudoku that require the diagonals to follow the 1-9 rule as well, but this is just standard sudoku.
This comment is hidden because it contains spoiler information about the solution