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.
Comparing type(x) directly is not a good practice because it prevents polymorphism, isinstance(x, int) is recommended instead.
Confirmed in Haskell
can anyone explain?
thanks.
How random is random?
i got a question. it's not regrading to the solution but about how to write test case. how do you proof it's a "true" random for each color generation in the test case? run test 1000 times and calculate each color count to 25% of total?
is that any easy way to do that in the test framework?
I'm pretty sorry about this.
I think so too. I tried another kata with ruby. Running test already returned the same error, whereas directly submit final solution without any problem.
N/M I think this is a site-wide bug.
Could you post a kumite?
My ruby solution passed irb locally (irb 0.9.6 & 1.9.3p484), but I keep getting this error:
Test didn't pass: Unknown error
Since I have done python version before & passed, I believe it should not be my coding issue. Is there anybody could take a look?
Thanks.