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 test cases have an "NameError: name 'Test' is not defined" just turn the
Test
totest
Python Translation Please review ꒰˶> ༝ <˶꒱
the tests could be a bit nicer but overall a cute little kata (especially the extra hurdle with the trailing \n)
bad this kata(((
First and second point already mentioned below, and still open as issues.
(That's because it uses
Test.expect
, which you should never ever use when comparing for equality. Unless it's for a special reason or you already provide a helpful error...)I don't understand why this kata's satisfaction is higher than 75%.
There are many flaws:
Oh sorry, I overlooked the instructions, and I don't know why it's tagged "issue", it was meant to be just a suggestion
Not an issue, maybe a suggestion, but it's stated in the instructions:
The Kata could ignore a last line break, as many users will probably do this and get frustrated when it doesn't work
There are no sample tests.
Re-raising a better issue
Tests are correct.
python, and it does
Which language? Has your output a newline at the end?
Loading more items...