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.
I recommend adding more unit testing.
ذكي
nice
Nasm translation
All languages obey this rule as of now, closing
Approved
Scala translation
Approved in fork with cleaned up assertion messages.
Thank you, that dit it.
You should
return
the result instead ofprinting
it. Read this for more infoHello
So Im pretty sure you can solve this comparing to 0 but I dont know why the test cases wont pass with my code, any hints?
Also please use markdown format tags when you post code or it is not usable, particularly in Python where the indentation is crucial. See there: https://docs.codewars.com/references/markdown/#code-block
This comment is hidden because it contains spoiler information about the solution
Are you submitting this code to CodeWars? Please first read the CodeWars submitting tutorial, you ought to submit a function that takes params as input and returns the output, not a full-working UI for other uses.
Example:
Loading more items...