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.
You need to return your output and not print it to the console. All katas on this website work like this. Returning the value, means the value is retained from that function call. The value retained can be checked and checked for equality against the expected answer. Printing to the console is hard to check for equality. "None" is the default value when nothing is returned.