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.
Python: not a single test with a whole number.
Duplicate of https://www.codewars.com/kata/574e4175ff5b0a554a00000b/discuss/python.
As it has even less value than the kata above, this one can be closed.
Description should be language-agnostic
D translation
D translation (unifies the description)
Description should be language-agnostic
COBOL translation
Go translation
Go translation
COBOL translation + description unified (author is inactive).
This is a very good kata but unfortunately there are many hidden preconditions that should be explained :(
printf
, aka6
digits after the decimal dotClojure Translation readay for review.
This comment is hidden because it contains spoiler information about the solution
Prompt states "All numbers will be whole numbers greater than 0."
The program must handle zeros, so it should say "All numbers will be whole numbers greater than or equal to 0."
I am not seeing any "mathy" solutions in the top solutions. You could try adding larger numbers; however, precision only works up to 16 digits, so it might not be enough.