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.
Don't worry, you're welcome.
Now the random tests pass! Sorry for maybe sounding a little petulant in the last replies. It wasn't intentional.
Thanks for the fix!
Try again, close the issue if it's fixed now, it should be.
Hi, please be patient until the fork with the fix is approved.
Hi
Issue remains in python , please give a clear round constraint.
The amount of failed tests varies from attempt to attempt.
Good day, I'm still having errors like this
220.2857142857143 should equal 220.28571428571428
Now it should be fixed.
Random tests produce floats, so you should compare the values with
assert_approx_equals
: https://docs.codewars.com/languages/python/codewars-test#approximate-equality-testsThat or make sure the tests only expects integers.
Same story. Cannot complete because "366.8571428571429 should equal 366.85714285714283"
Yes, I only passed by luck when hitting "attempt" more than 10 times.
Anyone else getting floating point precision errors in the random tests with Python?