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.
In Codewars you have to
return
values and notprint
them. Theprint
function itself returnsNone
, so all your returns just arereturn None
in the end.Maybe you can read through the Codewars docs to clear things up.
Strange stuff... I've made a wonderful Py function which locally works exactly how required, but still the check returns mistakes. Better try some other tasks :(