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.
"_" isn't an empty string. Also, why test for None? None isn't an empty string, so why should it equal "Hello World!"? This solution returns it based off of the fact that only strings are tested.
bool("") == False
.("_", "Hello, World!"),
-> this is wrong according to the specs. You're just expecting things that should not be according to the kata, here.(None, "Hello, World!")
-> this solution will pass that test (edit: woops, no it will fail on this test. But this input is invalid anyway since there is nothing told about passing None explicitely)a space isn't an empty string, so that still complies with the specs.