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.
Gotcha. I got it done. REALLY good edge case!
In
'stressed desserts' should equal 'desserts stressed'
the first one is not the input value, it is what your function returned instead of the expected value.That's weird. ALL of my test cases pass except for that one. When I run it locally, it returns a correctly reversed string.
also, just to make sure you read the logs ok: the log appears above the test result.
this is a valid test. it has been thoroughly vetted in Python and works correctly.
This test is failing for no reason: 'stressed desserts' should equal 'desserts stressed'
I've tested individually on my own machine running the same version of python, and for some reason this test is failing falsely.
cmp
is not necessary to solve this at all. New hint: list index values.