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.
Approved
Approved
Scala translation
CoffeeScript translation
Fixed in Python at least.
test.assert_equals(ensure_question("Well????"),"Well????","Expected: '?'")
The above test was included in the 'basic tests' but is missing from the test cases.
Random tests never generate test cases with multiple '?'
C# translation ready! Please review and approve.
There's only one test case with mutiple question marks. Some random tests are required with multiple question marks.
not a suggestion.
I would have had this one but for one mistake. You also have to assume (s) is and empty string. Which means my s[-1] would not work and kept throwing 'out of index' errors. Could not figure it out lol until I gave up and looked at solutions.
This comment is hidden because it contains spoiler information about the solution
you need to return the value, not print
This comment is hidden because it contains spoiler information about the solution
Loading more items...