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.
no way
This comment is hidden because it contains spoiler information about the solution
Wow
same to me
There're still holes in the anti-cheat. An obvious workaround.
done.
done.
Fixed
Sorry, but I haven't created any kata yet, so I cannot help you with that.
Cheers
Thank you for the feedback @zebulan and @anter69. I have updated the solution to use true division and added random tests, and all the tests pass when validating the solution. However, when I go to republish this kata I get an error that says "Final Solution is invalid. (python) The solution should pass the provided test cases" Any insight that can be provided would be appreciated.
@zti21662
,This kata isn't compatible with Python 3 because of the division used in the solution. In Python 2, the single division sign uses floor division but in Python 3 it uses true division. Simply changing
/ -> //
should fix the issue (//
is floor division in both versions of Python).Also, needs random tests as
@anter69
mentioned.Thanks!
Random tests, please?