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.
Funhouse! I suppose misdirection happens in real life :)
katas shouldn't have constraints in the description that can't be covered by tests
I understand not using %, but why is / not allowed when you're asking us to divide the sum?
"You have '/' in your code, please remove that and use the described method"
What described method? You want us to just use a while loop and keep subtracting 3?
in my opinion / and % should be forbidden for this task...
JS: Since huge numbers are also tested, please specify in the description that loss of precision should be handled as well.
You have '/' in your code, please remove that and use the described method
The described method says to add all the numbers together and divide by 3.
The described method just says to avoid modulo but complains about the / and // operator. Either remove those "anticheats" or expands the description to be more clear.
This comment is hidden because it contains spoiler information about the solution
Approved
I mean ok, so in python we're manually dividing. Why the python hate?
I solved with silple brutforce after summation step :)
Duplicate issue
Kata doesn't make sense, you still need to determine the modulo of the sum of the digits, so why prohibit using the modulo? Update the descrption to make the intent clear.
14 months have passed and the task description has not been corrected
Please expand the task instruction for Python that also the "/" and "//" operators aren't allowed.
https://www.codewars.com/kata/59f7fc109f0e86d705000043/train/python
Intructions given do not match the expected results. Modulo % shouldnt be used, that one is clear, but "/"? AND "//"? AND any other math module methods available?
Please accept my code proposal or adjust the task instructions
Loading more items...