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.
same here too it ran perfectly
on vscode but not here
Your function's name is
count_sheep
, notcount_sheeps
, it's missing ans
at the end, and that's your mistake. Not a kata issue.Read the error message next time:
The function's name should be
count_sheeps
that's why your code doesn't work, not a kata issue.