After I submitted my solution,I got the message:'TypeError: Object 1 has no method 'slice' at groupByCommas'
However,it was no problem when I ran code at local environment,and the result satisfied all the conditions of the cases that author offered.I have no idea about this message,who can help me???
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/225.
Please join the discussion to help us identify duplicate kata and retire them.
Haskell translation
Java traduction
Fixed tests in C# is commented out for no reason
Python: random tests cannot test
0
, which contradicts the description. Should be included in fixed tests too.Haskell basic log tests are incomprehensible, or basic tests are broken.
What's the input? How could the test expect
3074457345618258602
, without a single comma?The guaranteed constraint should be:
0 <= n <= 2147483647
After I submitted my solution,I got the message:'TypeError: Object 1 has no method 'slice' at groupByCommas'
However,it was no problem when I ran code at local environment,and the result satisfied all the conditions of the cases that author offered.I have no idea about this message,who can help me???
The sample test cases should use
Test.assert_equals
instead ofTest.expect
.