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.
Even the test is showing one return element
except that your output is supposed to be a two elements tuple... ;) So nothing wrong in the tests.
I'm getting some errors in the test code:
Traceback (most recent call last):
File "/runner/frameworks/python/cw-2.py", line 111, in wrapper
func()
File "main.py", line 10, in it_1
Test.assert_equals(encode("")[0], "")
IndexError: string index out of range
That index in the test assertion is causing issue. I run the test without it, seems to do just fine:
I'm not sure if this is a bug or I need to approach this another way to remove the error and pass the assert?