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.
An issue is a bug in the kata. If you have a question, post with the flag
question
.You must never use
input
here. You must just write a function that returns the correct result. The tests control your function with different inputs they create themselves and check if it works fine. Also, you must always use thereturn
statement, notprint
. What you print is not taken into account by the tests.In brief:
This comment is hidden because it contains spoiler information about the solution