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.
done in latest fork
Reraised as issue
Fixed. Tests now use
assert_approx_equals()
.What could we answer this?
raised as issue above, closing.
Added random tests to Ruby. Crystal, JS, PHP, Python already has them.
Coffee, C#, Haskell still needs them.
Fixed. Added randomized tests.
Because there is already a Python translation expecting approval.
Added random test.
corrected
Rounding at 10th decimal place will not always give you
10**-10
accuracy.e.g What if the number is around 0.0001? :)
You're not meant to
round
them to 10 places whenprecision
isNone
. You're meant to output the exact value.Now I'll leave it to you to figure out how many places is enough ;-)
"Four consecutive 1's must occur in a sequence." Looks good. Thanks =)
I've already changed it to 1,1,1,1. If you have any ideas how to express it more clearly don't be shy.
Loading more items...